PHP Classes

Fox captcha: Generate CAPTCHA validation images with reload.

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (8)   Blog (2)    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-04-02 (3 years ago) RSS 2.0 feedStarStarStar 50%Total: 1,518 All time: 2,466 This week: 1,018Up
Version License PHP version Categories  
fox_captcha 3.0Artistic License45Graphics, Validation, Security
Description Author  

This class can generate images for use in CAPTCHA based validation tests.

It generates an image of a given width and height with a sequence of random hexadecimal digits over a set of random lines.

The digits and the lines are rendered with the same foreground color. The foreground and background colors are generated randomly. The background color is always darker than the foreground color to assure high contrast.

The generated image is a PHP file.

The verification digits are stored in a session variable for posterior verification.
It also supports relaoding the Image without need to reload the base page. The link used to initiate the reload may be customized to any text or even image or button. Now in version 2.5 a loading gif indicator is rendered till the new Captcha image is downloaded.

Picture of Said Bakr
Name: Said Bakr <contact>
Classes: 2 packages by
Country: Egypt Egypt
Age: 38
All time rank: 142811 in Egypt Egypt
Week rank: 1624 Down26 in Egypt Egypt Down

  • screenshot2.png
  Files folder image Files  
File Role Description
Files folder imageimages (2 files)
Files folder imageimgaes (1 file)
Plain text file Fox_captcha.php Class The main class file
Plain text file fox_captcha_image.php Class The dynamic image file should be reloaded
Accessible without login HTML file how2use.html Doc. Explain how to use the class object and methods
Plain text file index.php Example The page which will submit to the form processor
Plain text file form.php Example Here you can see if the code entered true or false
Image file screenshot.jpg Screen A screenshot of the captcha image

  Files folder image Files  /  images  
File Role Description
  Plain text file fox_captcha_image.php Appl. The dynamic PHP Captcha Image
  Image file fox_captcha_image_loading.gif Icon The reloading image indicator

  Files folder image Files  /  imgaes  
File Role Description
  Plain text file fox_captcha_image.php Appl. The dynamic PHP Captcha Image

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,518All time:2,466
 This week:0This week:1,018Up
User Ratings User Comments (3)  
 All time