PHP Classes

GD Image Verification Class: Generate CAPTCHA verification images for forms

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-12-15 (9 years ago) RSS 2.0 feedStarStar 36%Total: 2,041 All time: 1,823 This week: 1,317Up
Version License Categories  
gd_verification 1.0.0GNU General Publi...Graphics, Validation
Description Author  

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: 1362183 in United States United States
Week rank: 1764 Down203 in United States United States Down

  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  
 0%Total:2,041All time:1,823
 This week:0This week:1,317Up
User Ratings User Comments (1)  
 All time
Example does not show image.
7 years ago (Ivan Lim)