PHP Classes

CAPTCHA Code: Generate random text images for CAPTCHA validation

Recommend this page to a friend!
  Info   Screenshots   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: 449 All time: 6,192 This week: 455Up
Version License PHP version Categories
captcha-code 1.00GNU General Publi...5.0PHP 5, Graphics, Validation, Security
Description 

Author

This class can generate random text images for CAPTCHA validation.

It can generate a random CAPTCHA validation text that can have either numeric or alphanumeric characters. This validation text is stored a session variable for subsequent validation.

The class generates an image in JPEG format with generated validation text obfuscated by random lines.

The image width and height, the text font name and size are configurable parameters.

Picture of majid ramzani
Name: majid ramzani <contact>
Classes: 4 packages by
Country: Iran Iran
Age: 33
All time rank: 126214 in Iran Iran
Week rank: 215 Up2 in Iran Iran Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

Screenshots (2)  
  • captchaimage
  • captchaimage2
  Files folder image Files (4)  
File Role Description
Plain text file captcha.php Class class file
Accessible without login Plain text file example.php Example example of use this class

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:449
This week:0
All time:6,192
This week:455Up