PHP Classes

Classes of m

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of m (1)  >  Mission progress status  >  Reputation  
Picture of m
Name: m <contact>
Classes: 1
Country: Slovak Republic Slovak Republic
Age: ???
All time rank: 13546 in Slovak Republic Slovak Republic
Week rank: 195 Up2 in Slovak Republic Slovak Republic Up
All time users: 2272
Week users: 0
Innovation award
Innovation award
Nominee: 1x
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Math Guard  
PHP Programming Innovation award nominee
June 2007
Number 7


Prize: One book of choice by Packt
CAPTCHA validation using math expressions
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.
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 90% 75% 85% 90% - - 70% 275
Month: Not yet rated by the users


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z