PHP Classes
elePHPant
Icontem

Captcha Numbers: Generate CAPTCHA validation images

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2005-09-29 (11 years ago) RSS 2.0 feedStarStarStar 59%Total: 3,262 All time: 1,035 This week: 991Up
Version License Categories
captchanumbers 1.0.0GNU General Publi...Graphics, Validation, Security
Description Author

This class can generate images for use in CAPTCHA based validation tests (Completely Automated Public Turing test to tell Computers from Humans Apart).

It can generate an image with a random sequence of numbers over a grid of lines. The numbers and the grid are rendered in configurable colors. The numbers are rendered using a given TrueType font.

The image can be generated in either GIF, JPEG or PNG formats. The default format is PNG.

Picture of Hadar Porat
Name: Hadar Porat <contact>
Classes: 5 packages by
Country: United States United States

Details
GD2 Problems
------------
You must have GD2 module installed with PHP.
If u get imagecreate() not found, it's means you don't have GD2 installed.

You can install it easly on windows by open php.ini and uncomment extension=php_gd2.dll line. Also check that extension_dir in php.ini is correct.

Font Problems
-------------
You must have arial.ttf available for the script to work.

If the picture is shown without numbers (only grid) u need to download
arial.ttf from http://www.webpagepublicity.com/free-fonts-a4.html.

Save arial.ttf in the same directory of the script. Notice it's arial.ttf
and not Arial.ttf.



Screenshots  
  • screen1.jpg
  Files folder image Files  
File Role Description
Plain text file captcha_numbers.php Class Main Class
Plain text file example.php Example Image displayer
Plain text file loginexample.php Example Login Form Example
Plain text file readme.txt Doc. Readme

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,262
This week:0
All time:1,035
This week:991Up
 User Ratings  
 
 All time
Utility:71%StarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:71%StarStarStarStar
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1226