PHP Classes

Very Simple Captcha: Generate images for CAPTCHA validation

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (5 years ago) RSS 2.0 feedStarStarStar 53%Total: 1,590 This week: 1All time: 2,336 This week: 1,079Up
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: 27
All time rank: 871109 in United States United States
Week rank: 422 Up45 in United States United States Up

  • 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,590All time:2,336
 This week:1This week:1,079Up
User Ratings User Comments (1)  
 All time
Use font, that doesn't exists.
5 years ago (Grzegorz Mi&#347;kiewicz)