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
StarStarStar 44%Total: 2,048 All time: 1,916 This week: 488Up
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: 39
All time rank: 148497 in Brazil Brazil
Week rank: 353 Up28 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,916
This week:488Up
 User Ratings  
 All time