PHP Classes

Fox captcha: Generate CAPTCHA validation images with reload.

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 1,542 All time: 2,547 This week: 524Up
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: 46
All time rank: 151513 in Egypt Egypt
Week rank: 195 Up5 in Egypt Egypt Up

Screenshots (1)  
  • screenshot2.png
  Files folder image Files (10)  
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 (10)  /  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 (10)  /  imgaes  
File Role Description
  Plain text file fox_captcha_image.php Appl. The dynamic PHP Captcha Image

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,542
This week:0
All time:2,547
This week:524Up
User Ratings User Comments (3)
 All time
Utility:54%StarStarStar
Consistency:70%StarStarStarStar
Documentation:75%StarStarStarStar
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2938