www.takingbacksunday.com how did they set up that so that you can enter whatever text you like and it will appear on the image and then be able to be saved as an image.
You can use the imagestring() function
The link goes to php.net