PHP Classes

Math CAPTCHA Class: CAPTCHA validation using math operations

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 992 All time: 3,672 This week: 455Up
Version License PHP version Categories
math_captcha 1.0GNU General Publi...5.0PHP 5, Graphics, Validation, Security
Description 

Author

This class can be used to perform CAPTCHA validation using math operations.

It can generate an image that displays a simple mathematical operation between two random integer numbers.

Currently the class supports the addition, subtraction and multiplication operations.

The user needs to enter the result of the math operation to pass the validation.

The class stores the validation numbers in session variables for later verification.

Picture of nickolas whiting
Name: nickolas whiting <contact>
Classes: 2 packages by
Country: United States United States
Age: 36
All time rank: 1969277 in United States United States
Week rank: 163 Up17 in United States United States Up

Screenshots (1)  
  • ScreenShot
  Files folder image Files (7)  
File Role Description
Plain text file captcha.php Class Captcha Class
Plain text file captcha_config.php Conf. Configuration File
Plain text file captcha_image.php Class Captcha Image Generator
Plain text file index.php Example Example Index
Plain text file legal_notice.txt Lic. Legal License
Plain text file test.php Example Test File

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:992
This week:0
All time:3,672
This week:455Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:58%StarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2485
 
Nice idea and good code.
16 years ago (David Ferreira)
67%StarStarStarStar