I am trying to write a script that will make buttons for a webpage. Is there a way that I can have the script find out how long the text is and create an image that size.
thnx,
D
use the strlen() function to get the size of the text. Then, assuming your server has the GD Image Library installed, use the Image functions to create a dynamic image. Check http://www.php.net/manual/en/ref.image.php for more information on that.