How do I secure emails using php? Domain tools uses images to display them like this. Should I use GD to do that?
you could do somthing like this (GD) header ("Content-type: image/png"); $im = @ImageCreate (200, 30); $background_color = ImageColorAllocate ($im, 255, 255, 255); imagecolortransparent($im,$background_color); $text_color = ImageColorAllocate ($im, 233, 14, 91); ImageString ($im, 3, 5, 5, "E-MAIL ADDRESS HERE", $text_color); ImagePNG ($im); PHP: thanks
Thanks a lot, it seems to work. Does it take up a lot of resources to do that when you have many images in a single page?
you could extend this script easily to cache results in a temp-dir to speed up the rendering. rendering a lot of text-images each time a unique users loads a page sure takes some resources on the server. more as if serving static pages. if you need this script with a caching function, PM me.