PHP Classes

OCR CAPTCHA: Generate images to test whether the user is human

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 7,359 All time: 257 This week: 524Down
Version License Categories
ocr_captcha 1.0.0GNU General Publi...Graphics, Validation, Security
Description 

Author

This class is meant to generate CAPTCHA (Completely Automated Public Turing to tell Computers from Humans Apart) images to test whether the user accessing a site is a real human or an automatic script.

The class generate an image with a random key text string printed on it mixed with some noise made of random text characters or line grid.

The image is meant to be used in a form so the user reads the key text in the image and must enter it to prove that is a real human.

The form also passes an hidden field that contains a public key that is used when the form is submitted to the server to verify whether the key text on the image matches what the user entered.

Picture of Julien PACHET
Name: Julien PACHET <contact>
Classes: 15 packages by
Country: France France
Age: 48
All time rank: 301 in France France
Week rank: 131 Down5 in France France Down

  Files folder image Files (2)  
File Role Description
Plain text file class_ocr_captcha.inc.php Class class file
Accessible without login Plain text file example.php Example test the class

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:7,359
This week:0
All time:257
This week:524Down
 User Ratings  
 
 All time
Utility:76%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:73%StarStarStarStar
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:2267