PHP Classes
elePHPant
Icontem

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 (8 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 677 All time: 4,571 This week: 1,134Up
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: 32
All time rank: 82316 in Turkey Turkey
Week rank: 736 Up11 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  
 0%
Total:677
This week:0
All time:4,571
This week:1,134Up