PHP Classes

Custom CAPTCHA: Display 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
StarStarStar 59%Total: 2,107 All time: 1,859 This week: 455Up
Version License PHP version Categories
customcaptcha 1.0GNU General Publi...5.0PHP 5, Graphics, Validation, Security
Description 

Author

This class can be used to display images for CAPTCHA validation.

It can display an image with a random text that the user needs to read and enter in a form to authorize the access to resources to real human users. The text is rendered over a given obfuscation image. The length, font and size of the text is configurable.

The validation text is stored in a session variable for posterior validation.

The validation image format can be either GIF, JPEG or PNG.

Picture of Dodit Suprianto
Name: Dodit Suprianto <contact>
Classes: 4 packages by
Country: Indonesia Indonesia
Age: 49
All time rank: 4308 in Indonesia Indonesia
Week rank: 238 Up5 in Indonesia Indonesia Up

Screenshots (1)  
  • captcha.class.php.gif
  Files folder image Files (4)  
File Role Description
Plain text file test.php Example test website
Image file eyes.gif Photo default background
Plain text file captcha.class.php Class captcha 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:2,107
This week:0
All time:1,859
This week:455Up
User Ratings User Comments (2)
 All time
Utility:85%StarStarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1372
 
Excellent.
15 years ago (Fidalgo Lapaco)
67%StarStarStarStar
Nice and simple.
16 years ago (F Philip DeGeorge)
70%StarStarStarStar