CAPTCHA Code: Generate random text images for CAPTCHA validation

Recommend this page to a friend!
  Info   Screenshots   View files (2)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 442 All time: 6,146 This week: 356
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: 29
All time rank: 125213 in Iran Iran
Week rank: 713 19 in Iran Iran
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  • captchaimage2
  • captchaimage
File Role Description
captcha.php Class class file
example.php Example example of use this class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,146
This week:356

For more information send a message to info at phpclasses dot org.