Login   Register  
PHP Classes

Math CAPTCHA Class: CAPTCHA validation using math operations

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 935 This week: 1All time: 3,571 This week: 1,384Up
Version License PHP version Categories  
math_captcha 1.0GNU General Public Lice...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: 26
All time rank: 1843239 in United States United States
Week rank: 1063 Up106 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  
 0%Total:935All time:3,571
 This week:1This week:1,384Up
 User Comments (1)  
Nice idea and good code.
6 years ago (David Ferreira)