PHP Classes

Image Verification: Generate and verify CAPTCHA validation images

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 2,046 All time: 1,915 This week: 310Up
Version License Categories
imgverification 1.0GNU General Publi...HTML, Graphics, Validation, Security


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: 38
All time rank: 148497 in Brazil Brazil
Week rank: 586 Up36 in Brazil Brazil Up

  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  
This week:0
All time:1,915
This week:310Up