Login   Register  
spacer
Login
Register
spacer
spacer
spacer

Math Guard: CAPTCHA validation using math expressions

Recommend this page to a friend!
spacer Stumble It! spacer Bookmark in del.icio.us
 
Info
spacer View files (4)
Reputation
Links
   
  Info   spacer View files (4)   spacer spacer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-06-03 (8 years ago) spacer spacer spacer spacer spacer 76%Total: 2,202 All time: 1,698 This week: 915spacer
Version License PHP version Categories  
mathguard 0.2GNU General Publi...3.0HTML, Validation, Security
Description Author  

This class can be used to perform CAPTCHA validation presenting simple mathematical expressions to the users to make it difficult for robots to pass a form being validated.

It displays a mathematical expression of a sum between two random numbers and asks the user to enter the result in a text form input.

The class generates an hash of the result using a secret prime number that is passed in an hidden form input.

When the user enters the result, the class validates it comparing the hash of the value entered by the user with the hash passed in the hidden input.

Innovation Award  
spacer
June 2007
Number 7


Prize: One book of choice by Packt
CAPTCHA validation is being used everywhere on the Internet to make it difficult for robots to access sites that should be accessed only by real human user beings.

One of the problems is that most solutions are based on images. Obviously, such images cannot be read by blind users using regular text to speech conversion programs.

This class provides a CAPTCHA alternative that is not based on images, but rather on simple math operations.

This way, blind users can read what is written in the pages and pass the CAPTCHA validation tests giving the correct results to requested operations.

Manuel Lemos
spacer
m
Name: m <contact>
Classes: 1 package by m
Country: spacer Slovak Republic
Age: ???
All time rank: 13025 in Slovak Republic spacer
Week rank: 1446 spacer 9 in Slovak Republic spacer spacer
Innovation award
spacer
Nominee: 1x

  spacer Files  
File Role Description
spacer ClassMathGuard.php Class Main MathGuard class
spacer spacer formhandler.php Example The php script which handles the verification and action
spacer spacer index.php Example Main sample Form that has to be protected
spacer spacer readme.html Doc. Simple readme file with the example description

spacer mathguard-2007-06-03.zip 3KB
spacer mathguard-2007-06-03.tar.gz 2KB
spacer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%Total:2,202All time:1,698
 This week:0This week:915spacer
 User Ratings  
 
 All time
Utility:100%spacer spacer spacer spacer spacer spacer
Consistency:75%spacer spacer spacer spacer
Documentation:91%spacer spacer spacer spacer spacer
Examples:100%spacer spacer spacer spacer spacer spacer
Tests:-
Videos:-
Overall:76%spacer spacer spacer spacer
Rank:35
  
  spacer Advertise on this site   spacer Site map   spacer Newsletter   spacer Statistics
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.