PHP Classes

Math CAPTCHA Class: CAPTCHA validation using math operations

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 965 This week: 1All time: 3,569 This week: 1,110Up
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: 27
All time rank: 1864244 in United States United States
Week rank: 898 Up101 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:965All time:3,569
 This week:1This week:1,110Up
 User Comments (1)  
Nice idea and good code.
7 years ago (David Ferreira)