Login   Register  
PHP Classes
elePHPant
Icontem

Animated CAPTCHA: CAPTCHA validation using animated math expressions

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (21)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-06-08 (7 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 5,916 This week: 3All time: 356 This week: 533Down
Version License PHP version Categories  
animatedcaptcha 1.1GNU Lesser General Publ...4.0Graphics, Validation, Security
Description Author  

This class can be used to perform CAPTCHA validation presenting to the users simple mathematical expressions as a sequence of animated pictures to make it difficult for robots to pass a form being validated.

It generates an animated GIF image that displays a mathematical expression of a simple operation between two random numbers, like sum, subtraction and multiplication.

The numbers and the operation are stored in session variables for posterior verification.

Innovation Award  
PHP Programming Innovation award nominee
June 2007
Number 6


Prize: One year server license IP to country region city database
CAPTCHA validation is being used everywhere on the Internet to make it difficult for robots to access sites that should be accessed only by real human user beings.

One of the problems is that most solutions are based on images that show validation text that is easy to guess using common OCR (optical character recognition) programs.

This class provides a CAPTCHA alternative that uses animated images. In each animation frame, it is presented a number or the symbol of a simple math operation that the users must solve to pass the validation tests.

This solution raises the difficulty to robots in comparison to other CAPTCHA solutions that are easier to defeat by the current generation of robots.

Manuel Lemos
Picture of Josh Storz
Name: Josh Storz <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 44052 in United States United States
Week rank: 536 Down54 in United States United States Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imageframes (15 files)
Accessible without login Plain text file example.php Example Working Example
Plain text file GIFEncoder.class.php Class GIFEncoder class
Accessible without login Plain text file index.php Example Main Function - Displays picture & sets session
Plain text file OOP4.php Class OOP4
Plain text file OOP5.php Class OOP5
Accessible without login Plain text file readme.txt Doc. readme

  Files folder image Files  /  frames  
File Role Description
  Accessible without login Image file 0.gif Icon readme
  Accessible without login Image file 1.gif Icon readme
  Accessible without login Image file 2.gif Icon readme
  Accessible without login Image file 3.gif Icon readme
  Accessible without login Image file 4.gif Icon readme
  Accessible without login Image file 5.gif Icon readme
  Accessible without login Image file 6.gif Icon readme
  Accessible without login Image file 7.gif Icon readme
  Accessible without login Image file 8.gif Icon readme
  Accessible without login Image file 9.gif Icon readme
  Accessible without login Image file equals.gif Icon gif frame
  Accessible without login Image file minus.gif Icon gif frame
  Accessible without login Image file plus.gif Icon gif frame
  Accessible without login Image file solve.gif Icon gif frame
  Accessible without login Image file times.gif Icon gif frame

 Version Control Unique User Downloads Download Rankings  
 0%Total:5,916All time:356
 This week:3This week:533Down
User Ratings User Comments (3)  
 All time
Utility:81%StarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:81%StarStarStarStarStar
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:461
 
The nice thing that I noticed about this app is that it doesn...
4 years ago (Ved)
77%StarStarStarStar
A++
6 years ago (Gavrilov Alexander)
80%StarStarStarStarStar
your best~
6 years ago (ganji)
80%StarStarStarStarStar