Login   Register  
PHP Classes

Captcha Numbers V2.1: Generate CAPTCHA validation images

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Albert Demeter
Name: Albert Demeter <contact>
Classes: 1 package by
Country: Hungary Hungary
Age: 35
All time rank: 4983 in Hungary Hungary
Week rank: 1083 Down13 in Hungary Hungary Down

  Detailed description   Download Download .zip .tar.gz  
This class can generate images for use in CAPTCHA based validation tests (Completely Automated Public Turing test to tell Computers from Humans Apart). It is an improved version of the Captcha Numbers class originally written by Hadar Porat.

This version can generate a random text string that includes letters and digits.

It can also display each of text characters in different vertical positions randomly defined.

The colors of the grid and the text characters alternate to make it more difficult for robots to guess what is the text written in the image.

New features as of 2006 March 7th:
- random pixel display (by default set to 10% of the pixels of the entire
image); if random selected pixel has background color then a random color is
selected for the random pixel, otherwise a close match of the letter's or
grid's color is generated
- removed grid display by default (it's better readable without the grid,
but it can be added, my suggestion is to add more dots instead of the grid)
- random grid color support
- added random display angle support
- added random font support
- added random font size support
- added random font color support

- replaced rand function calls with mt_rand (mt_rand suppose to be better
and faster, if I remember correctly)

Next to the class PHP file create a folder fonts and place TTF in order to use the random fonts feature.

  Classes of Albert Demeter  >  Captcha Numbers V2.1  >  Download Download .zip .tar.gz  >  Support forum Support forum (6)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Captcha Numbers V2.1
Base name: captchanumbersv21
Description: Generate CAPTCHA validation images
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 5346 users
All time rank: 417
Week users: 1 user
Week rank: 1420 Down
  Groups   Screenshots Screenshots   Rate classes User ratings   Applications   Files Files  

Group folder image Graphics Colors, images, charts and picture formats View top rated classes
Group folder image Validation Validation algorithms View top rated classes
Group folder image Security Security protection and attack detection View top rated classes

  Files folder image Screenshots  
File Role Description
Accessible without login Image file screen1.jpg Screen Login Form Example

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (85%) Good (90%) Sufficient (77%) Good (87%) - - Sufficient (68%) 315
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file captcha_numbersV2.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

Download Download all files: captchanumbersv21.tar.gz captchanumbersv21.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.