Login   Register  
PHP Classes
elePHPant
Icontem

Fox captcha: Generate CAPTCHA validation images with reload.

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 (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (8)   Blog (2)    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-04-02 (2 years ago) RSS 2.0 feedStarStarStar 50%Total: 1,456 This week: 1All time: 2,477 This week: 1,380Up
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: 36
All time rank: 141510 in Egypt Egypt
Week rank: 1040 Up11 in Egypt Egypt Down

Screenshots  
  • 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,456All time:2,477
 This week:1This week:1,380Up
User Ratings User Comments (3)  
 All time
Utility:55%StarStarStar
Consistency:75%StarStarStarStar
Documentation:80%StarStarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:1587