PHP Classes

GD Image Verification Class: Generate CAPTCHA verification images for forms

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 36%Total: 2,055 All time: 1,910 This week: 524Up
Version License Categories
gd_verification 1.0.0GNU General Publi...Graphics, Validation


This class can be used to perform CAPTCHA tests to verify whether a site user is a real human or a robot script.

It generates images with random secret texts. The secret texts are stored on the server side using session variables.

The images are drawn with the GD library and outputted in the JPEG format.

The class also provides a verification function to determine whether the text in the image matches the text eventually entered by an user in a verification form.

Picture of Michael Rose
Name: Michael Rose <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 1479221 in United States United States
Week rank: 360 Up38 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file gd_image_verify.php Class Class file
Accessible without login Plain text file gd_image.php Example Example file #1
Accessible without login Plain text file gd_example.php Example Example file #2
Accessible without login Plain text file gd_doc.txt Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,910
This week:524Up
User Ratings User Comments (1)
 All time
Example does not show image.
16 years ago (Ivan Lim)