PHP Classes

Very Simple Captcha: Generate images for CAPTCHA validation

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 1,615 This week: 1All time: 2,443 This week: 560Up
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
Age: 36
All time rank: 811111 in United States United States
Week rank: 411 Up48 in United States United States Up

Screenshots  
  • screenshot
  • screenshot2
  • screenshot3
  • screenshot4
  • screenshot5
  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,615
This week:1
All time:2,443
This week:560Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:70%StarStarStarStar
Documentation:-
Examples:54%StarStarStar
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2698
 
Use font, that doesn't exists.
14 years ago (Grzegorz Mi&#347;kiewicz)
42%StarStarStar