Login   Register  
PHP Classes
elePHPant
Icontem

PHP Math Captcha: Generate CAPTCHA images with 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 (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-12-11 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 244 This week: 1All time: 7,017 This week: 1,398Up
Version License PHP version Categories  
php-math-captcha 1.0.0Free For Educational Use5.0Graphics, Validation, Math, Security
Description Author  

This class can generate CAPTCHA images with math operations.

It can generate a random math expression with an operation between two numbers, like addition, subtraction and multiplication and render it in a image for CAPTCHA validation.

The class can validate the math expression result entered by the user in a form by comparing with the numbers and the operator stored previously in session variables.

Picture of Peeyush Budhia
Name: Peeyush Budhia <contact>
Classes: 4 packages by
Country: India India
Age: 27
All time rank: 1846114 in India India
Week rank: 744 Up55 in India India Up

Screenshots  
  • MathsCaptcha.PNG
  Files folder image Files  
File Role Description
Plain text file class.MathsCaptcha.php Class Class File
Accessible without login Plain text file getCaptcha.php Example File used to generate image
Accessible without login Plain text file index.php Aux. Index File
Accessible without login Plain text file validate.php Example File is used to validate captcha image.

 Version Control Unique User Downloads Download Rankings  
 0%Total:244All time:7,017
 This week:1This week:1,398Up
 User Comments (1)  
 
Ultimate!
1 year ago (Vikram Prabhakar)
70%StarStarStarStar