PHP Classes

KG CAPTCHA Class: Generate images for CAPTCHA validation

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 685 All time: 4,758 This week: 524Up
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: 40
All time rank: 87317 in Turkey Turkey
Week rank: 178 Up2 in Turkey Turkey Up

  Files folder image Files (5)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:685
This week:0
All time:4,758
This week:524Up