CAPTCHA Image Maker: Generate image with random text for a CAPTCHA

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 304 This week: 1All time: 7,302 This week: 275Up
Version License PHP version Categories
captcha-image-maker 1.0.1The PHP License5PHP 5, Graphics, Validation
Description Author

This class can generate image with random text for a CAPTCHA.

It can create an image a random text and some obfuscating lines.

The generated image is saved to a local file in the PNG format.

Picture of walid laggoune
Name: walid laggoune <contact>
Classes: 5 packages by
Country: Algeria Algeria
Age: 20
All time rank: 29373 in Algeria Algeria
Week rank: 70 Up1 in Algeria Algeria Up



Simple class written in php to create captcha image.

How to use:

there is an example in app.php . The cpatcha image will be saved in images/cap.png


This class works only when GD library loaded.

  Files folder image Files  
File Role Description
Files folder imageimages (1 file)
Files folder imagesrc (1 file)
Accessible without login Plain text file app.php Example Example script
Accessible without login Plain text file Doc. Documentation

  Files folder image Files  /  images  
File Role Description
  Accessible without login Image file background.png Icon Icon image

  Files folder image Files  /  src  
File Role Description
  Plain text file Captcha.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:7,302
This week:275Up
For more information send a message to info at phpclasses dot org.