Page 1 of 1
Animated GIF CAPTCHA
Posted: Wed May 13, 2009 8:03 pm
by Vegan
I am contemplating the use of an animated GIF based CAPTCHA to beat up on spam, by befuddling the pixels all I can say is good luck to OCR.
Anyone got some code to speed the development up?

Re: Animated GIF CAPTCHA
Posted: Wed May 13, 2009 8:09 pm
by ldougherty
Do you plan on using the same static animated gif each time or are you planning on using a library to dynamically create the image on the fly?
If you are using a single static image or even several static images in an array but something you've already generated you can simply store a text matching value of the image text in a database along with the URL of the image to display. Then on your form have it validate against the image text while displaying the image URL.
Does that make sense?
Re: Animated GIF CAPTCHA
Posted: Thu May 14, 2009 12:06 am
by jaoudestudios
I created a class, way back in the day. Which created the captcha spam code image on the fly using SVG to gif. It is quite customable if I remember correctly. You are welcome to use it, use part of it etc...
Captcha spam code using SVG -> Gif
Re: Animated GIF CAPTCHA
Posted: Sat May 16, 2009 9:48 am
by Vegan
Thanks, I snipped out the code into a PHP file for review.
Seems a bit mangled from the forum but I can tidy it up easy enough. One feature I like about phpBB3 is that code can be posted and its selectable without messing it up when pasted into your favorite web editor.
The problems with spammers are nasty indeed. Seems anything is fair game for spammers.