PHP Classes

KG CAPTCHA Class: Generate images for CAPTCHA validation

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 676 All time: 4,432 This week: 1,442Up
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.

Picture of Muharrem ERIN
Name: Muharrem ERIN <contact>
Classes: 5 packages by
Country: Turkey Turkey
Age: 31
All time rank: 79814 in Turkey Turkey
Week rank: 1752 Down32 in Turkey Turkey Down

  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  
 0%Total:676All time:4,432
 This week:0This week:1,442Up