PHP Classes

Math CAPTCHA Class: CAPTCHA validation using math operations

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-08-23 (11 years ago) RSS 2.0 feedNot enough user ratingsTotal: 981 All time: 3,646 This week: 417Up
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.

Name: nickolas whiting <contact>
Classes: 2 packages by
Country: United States United States
Age: 31
All time rank: 1946249 in United States United States
Week rank: 788 Up81 in United States United States Up


  • ScreenShot
  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,646
This week:417Up
User Comments (1)
Nice idea and good code.
11 years ago (David Ferreira)