PHP Classes

Very Simple Captcha: Generate 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 49%Total: 1,615 All time: 2,444 This week: 524Up
Version License PHP version Categories
very_simple_captcha 1.0Freely Distributable4.4Graphics, Validation
Description 

Author

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

It generates an image with a random validation text. The image has some lines and shapes rendered in a different color to obfuscate the text.

The width and height of the image, and the length and the font of the text are configurable details.

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

The generated image is served as the current script output in the JPEG format.

Picture of Robert Widdick
Name: Robert Widdick <contact>
Classes: 3 packages by
Country: United States United States

Screenshots (5)  
  • screenshot
  • screenshot2
  • screenshot3
  • screenshot4
  • screenshot5
  Files folder image Files (7)  
File Role Description
Plain text file demo.php Example demo on using captcha.php class
Plain text file captcha.php Class main includes for img tags

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:1,615
This week:0
All time:2,444
This week:524Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:70%StarStarStarStar
Documentation:-
Examples:54%StarStarStar
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2762
 
Use font, that doesn't exists.
15 years ago (Grzegorz Mi&#347;kiewicz)
42%StarStarStar