PHP Classes

KG CAPTCHA Class: Generate images for CAPTCHA validation

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-03-10 (11 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 682 All time: 4,683 This week: 373Up
Version License PHP version Categories
kgcaptchaclass 1.0GNU General Publi...4Graphics, Validation, Security
Description Author

This class can be used to generate images for CAPTCHA validation.

It renders a random text with letters and digits in an image. The rendered text is stored in a session variable for posterior validation.

The generated image may have a random background image rendered behind the text.

The length of the validation text, the colors, and text fonts are configurable.

The validation image can be generated in the GIF, PNG or JPEG formats as the current script output.

Name: Muharrem ERIN <contact>
Classes: 5 packages by
Country: Turkey Turkey
Age: 35
All time rank: 85917 in Turkey Turkey
Week rank: 760 Up13 in Turkey Turkey Up


  Files folder image Files  
File Role Description
Accessible without login Image file bg_1.png Output background image 1
Accessible without login Image file bg_2.png Output Background image 2
Accessible without login Plain text file captcha_image.php Example create image file
Plain text file kgCaptcha.class.php Class class file
Accessible without login Plain text file test.php Example test file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,683
This week:373Up