Jump to content

gd library and captcha


fooDigi

Recommended Posts

Well... I'm not sure how most sites do it, but you could either overlay images for the distorted text, or you could find a weird style of font...  I would do the later lol...  As far as I know, GD cannot do layers like PS.

 

I've never written a captcha my self, but they generally work like this.

 

-Create an image from a random base jpeg...

-Over lay random text over it

-Set a session variable to what the random text was

-Out put the image

 

Hope my post helped, but I'm fairly sure someone will be able to answer better since I do not know much about the GD lib.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.