PHP Classes

PHP Math Captcha: Generate CAPTCHA images with 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
Not enough user ratingsTotal: 267 All time: 7,751 This week: 524Up
Version License PHP version Categories
php-math-captcha 1.0.0Free For Educatio...5.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
  Performance   Level  
Name: Peeyush Budhia <contact>
Classes: 4 packages by
Country: India India

Screenshots (1)  
  • MathsCaptcha.PNG
  Files folder image Files (5)  
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.

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:267
This week:0
All time:7,751
This week:524Up
User Comments (1)
Ultimate!
11 years ago (Vikram Prabhakar)
70%StarStarStarStar