Dynadot

PHP - Animated Captcha

Spaceship Spaceship
Watch

xrvel

i love automationVIP Member
Impact
163
Hi, i want to share my animated captcha script.
Maybe you want to use it in your website or such :)

Image demo :





Download link :
http://dy.xrvel.googlepages.com/animatedcaptcha.zip

Last modified : November, 18th, 2008.


Improve your captcha ! :)
Code:
[list]
[*]Create more background images with image editor to improve your background combination.

[*]Use more TTF fonts to improve your font combination.

[*]Use various text color.
[/list]

History :
Code:
Version 1,4,1
[list]
[*]new property "regenerate_session_id" (boolean) (PHP 4 >= 4.3.2, PHP 5).
  if true, session id is regenerated when a user enters invalid guess.
  I believe this slightly improves the captcha defense against automation / bot.
  Please check "animatedcaptcha_example.php" for detail.
  But warning, all related data in $_SESSION are destroyed too.
[*]More fonts are included.
[*]More and larger background images.
[*]Random alphabets are used as character set (a-z). The previous one used (a-f and 0-9)
[*]Random string length on captcha generator file.
[*]Some code change.
[/list]

Version 1,3,2
[list]
[*]More distortion option.
[*]Only the letters and grids are distorted.
The background is not distorted.
[*]More fix.
[/list]

Version 1,3,1
[list]
[*]Add background from GIF file to the captcha. (the old one used plain background).
[*]Add some distortion in the letters.
[*]Grid numbers are reduced.
[*]Please check your old captcha file ([SIZE=1]"animatedcaptcha_generate.php" in the example[/SIZE]), and replace it with the new one.
[*]Recommended frame number is 2 now. (size +- 7-8 kb)
[/list]
 
Last edited:
9
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Interesting captcha. Thanks xrvel. Rep added. :)
 
0
•••
Hi, Hiroki.

Thank you. I hope this script is useful :)

Kurniawan.
 
0
•••
Nice one! This should help stop the spambots!

What license is it released under (if any)?

Rick
 
0
•••
RickM said:
Nice one! This should help stop the spambots!

What license is it released under (if any)?

Rick
Thank you Rick :)
You can use it freely :)

- Kurniawan
 
0
•••
Oh my, this is a very nice script!
Well done! (rep added) :)
 
0
•••
this one's easier to read compared to e-gold.com's scrolling captcha
 
0
•••
Thank you for using my script :)
I hope this script helps to stop the bot :)

- Kurniawan.
 
0
•••
Just checked it out and that is very cool, thanks pal ;)
 
0
•••
Thanks, i'm glad it's useful :)

- Kurniawan
 
0
•••
That is awesome script. Great one.

Thanks a lot for sharing it with all of us :)
 
0
•••
0
•••
Deleted
 
Last edited:
0
•••
Very nice, just a bit nauseating. lol
 
0
•••
Thank you :) Last update is July 11th 2008 :)
 
0
•••
Thanks xrvel. What's new on this new update?
 
0
•••
Last modification was a little fix on "validate" function :)
 
0
•••
Modification added. Still need some distortion function :p
 
0
•••
Nice job. I think the trick with captchas is that now that they need to get so complicated you still need to make it less annoying for the user to deal with it. I've even read about a captcha scheme that makes a 3D scene with a few objects and asks you where some objects are in relation to others.
 
0
•••
wicked_gal00 said:
Nice job. I think the trick with captchas is that now that they need to get so complicated you still need to make it less annoying for the user to deal with it. I've even read about a captcha scheme that makes a 3D scene with a few objects and asks you where some objects are in relation to others.
I found some 3D example on http://spamfizzle.com/CAPTCHA.aspx. Interesting. Thank you for the information. I think this is the limit of 2D captcha :)
 
0
•••
Nice script, if I create something that requires a CAPTCHA, I'll be sure to use it :)
 
0
•••
Perfect. I've been meaning to put a captcha onto my contact form, but i just got around to it. all the captchas i found were too much of a pain to install, this was perfect.

Rep'd!
 
0
•••
Nice. Thank you for using this :)
 
0
•••
Yummy Update

I have updated the script with these changes : :)
  • new property "regenerate_session_id" (boolean) (PHP 4 >= 4.3.2, PHP 5).
    if true, session id is regenerated when a user enters invalid guess.
    I believe this slightly improves the captcha defense against automation / bot.
    Please check "animatedcaptcha_example.php" for detail.
    But warning, all related data in $_SESSION are destroyed too.
  • More fonts are included.
  • More and larger background images.
  • Random alphabets are used as character set (a-z). The previous one used (a-f and 0-9)
  • Random string length on captcha generator file.
  • Some code change.
 
0
•••
HI

How does one add this to a script to protect it from spam...

Do you have instructions..

Tom
 
0
•••
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back