PDA

View Full Version : PHP image.


Nasimov
03-30-2004, 9:42 AM
Hello!

I want to load text from a .txt file on the web and put it on to an image. How can I do that in php?

Thanks.

Wizzard~Of~Ozz
10-10-2004, 11:44 PM
Review the PHP site on using GD, (imagecreate() and imagestring() )

You can set the height of the image to lines x height of each row, you can also import a jpg or something into the background.. As for reading the file, I haven't done that as most of my PHP pages use Database..