01-05-2008, 11:27 PM
|
#2 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
It's always nice to have a play around with GD from time-to-time, isn't? Just a note to anybody who's using your code. You have to drag the arial.ttf font from your fonts folder to your web-root (or just link to the font file in the font folder). Also ensure that your $_GET variable text is set. Finally, ensure the background image is a PNG. You're then good to go!
Thanks for sharing! Maybe the next thing you can do is detect what file type the background is, such as JPG, GIF, et cetera...
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|