PHP Classes

Animated CAPTCHA: CAPTCHA validation using animated math expressions

Recommend this page to a friend!
  Info   View files View files (21)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 67%Total: 6,113 This week: 1All time: 368 This week: 158Up
Version License PHP version Categories
animatedcaptcha 1.1GNU Lesser Genera...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: 46458 in United States United States
Week rank: 180 Up20 in United States United States Up
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:6,113
This week:1
All time:368
This week:158Up
User Ratings User Comments (3)
 All time
Utility:84%StarStarStarStarStar
Consistency:84%StarStarStarStarStar
Documentation:84%StarStarStarStarStar
Examples:85%StarStarStarStarStar
Tests:-
Videos:-
Overall:67%StarStarStarStar
Rank:595
 
The nice thing that I noticed about this app is that it doesn...
12 years ago (Ved)
77%StarStarStarStar
A++
15 years ago (Gavrilov Alexander)
80%StarStarStarStarStar
your best~
15 years ago (ganji)
80%StarStarStarStarStar