PHP Classes

Image Verification: Generate and verify CAPTCHA validation images

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-05-30 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 2,037 All time: 1,831 This week: 1,134Up
Version License Categories  
imgverification 1.0GNU General Publi...HTML, Graphics, Validation, Security
Description Author  

This class can be use to generate CAPTCHA validation images and verify the text written on them.

The class can generate an image with a random text. The text is rendered using a random font, a random inclination angle and has several lines over the text to make it fuzzy. The image is generated in the JPEG format.

The verification text is stored in a session variable so the class can verify whether the validation text the user entered matches the text displayed in the image.

Picture of Julio Romano
Name: Julio Romano <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 30
All time rank: 137893 in Brazil Brazil
Week rank: 1576 Down114 in Brazil Brazil Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file documentation.txt Doc. Documentation of class
Accessible without login Plain text file example.php Example Example of usage
Accessible without login Plain text file img.php Example Example of image
Plain text file ImgVerification.php Class The class
Accessible without login Plain text file verify.php Example Example verification script

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,037All time:1,831
 This week:0This week:1,134Up