Login   Register  
PHP Classes
elePHPant
Icontem

Very Simple Captcha: Generate images for CAPTCHA validation

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-02-01 (4 years ago) RSS 2.0 feedStarStarStar 53%Total: 1,556 All time: 2,327 This week: 1,457Up
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: 26
All time rank: 886115 in United States United States
Week rank: 590 Up64 in United States United States Up

Screenshots  
  • screenshot5
  • screenshot4
  • screenshot3
  • screenshot2
  • screenshot
  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,556All time:2,327
 This week:0This week:1,457Up
User Ratings User Comments (1)  
 All time
Utility:80%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:55%StarStarStar
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:1420
 
Use font, that doesn't exists.
4 years ago (Grzegorz Mi&#347;kiewicz)
42%StarStarStar