Login   Register  
PHP Classes
elePHPant
Icontem

Math Guard

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of m
Name: m <e-mail contact>
Packages: 1 Browse all classes by m Browse all classes by
Country: Slovak Republic Slovak Republic - PHP jobs in Slovak Republic
Age: ???
All time rank: 13777 in Slovak Republic Slovak Republic
Week rank: 261 Up1 in Slovak Republic Slovak Republic Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
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.

  Classes of m  >  Math Guard  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Math Guard
Base name: mathguard
Description: CAPTCHA validation using math expressions
Version: 0.2
PHP version: 3.0
License: GNU General Public License (GPL)
All time users: 1797 users
All time rank: 1940
Week users: 10 users
Week rank: 203 Up
 
  Groups   Freshmeat project   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Validation Validation algorithms View top rated classes
Group folder image Security Security protection and attack detection View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
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

  Freshmeat project  
Math Guard
Project record: mathguard
Popularity score: 29.5
Vitality score: 1.02

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Perfect (100.0%)
Sufficient (75.0%)
Good (91.7%)
Perfect (100.0%)
-
-
Sufficient (76.7%)
35
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file ClassMathGuard.php Class Main MathGuard class
Accessible without login Plain text file formhandler.php Example The php script which handles the verification and action
Accessible without login Plain text file index.php Example Main sample Form that has to be protected
Accessible without login HTML file readme.html Doc. Simple readme file with the example description

Download all files: mathguard.tar.gz mathguard.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.