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 53%Total: 1,613 All time: 2,437 This week: 222Up
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: 35
All time rank: 815108 in United States United States
Week rank: 516 Up62 in United States United States Up

  • 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  
This week:0
All time:2,437
This week:222Up
User Ratings User Comments (1)
 All time
Use font, that doesn't exists.
12 years ago (Grzegorz Mi&#347;kiewicz)
For more information send a message to info at phpclasses dot org.