PHP Tutorial : Write text and convert into image

The base usage in my mind when I write this tutorial to convert text into image with php is to write email into images dinamically to avoid spammers collecting such addresses from the internet.

To run such a script you must have GD library installed. We’ll take parametres via GET and merge into image:

Save this as textToImage.php and then when you want to create the image and read text do it like :

Tagged with: , , , , ,
Posted in Useful PHP
One comment on “PHP Tutorial : Write text and convert into image

Leave a Reply

Your email address will not be published. Required fields are marked *

*