PHP Classes
elePHPant
Icontem

CAPTCHA: Class to generate little CAPTCHA pictures

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-03-13 (12 years ago) RSS 2.0 feedStarStarStarStar 62%Total: 14,868 All time: 60 This week: 368Down
Version License PHP version Categories
captcha 2.0.1GNU General Publi...4.0.1Graphics, Validation
Description Author

A CAPTCHA (Completely Automated Public Turing to tell Computers from Humans Apart) is a program that can generate and grade tests that:

- Most humans can pass.
- Current computer programs cannot pass.

For example, humans can read distorted text but current computer programs cannot.

Recommendations

Extract the used color from the image.
Detect cloth on the image and extract the color of it

Name: Pascal Rehfeldt <contact>
Classes: 3 packages by
Country: Germany Germany

Details
==[ Foreword ]==
This version is completely redesigned with a fancy new look of CAPTCHA.
In order to simplify the the usage, I also redisgned the interface.

The newest Version can be found at [1].

==[ Requirements ]==
- PHP >= 4.0.1
- TTF support
- Some fonts

==[ Fonts ]==
Before you can start using this class, you need some fonts.

You can either get the font-package [2] or some other fonts [3].
When you got one or more fonts, just put them into the 
font directory and they will be used randomly.

==[ Usage ]==
It's realy easy to use this class.

Example:

Generatin a CAPTCHA:

  $captcha = new captcha();

To geht the string shown in the CAPTCHA use this:

  $CaptchaString = $captcha->GetCaptchaString();

See example.php and captcha.php for a detailed example.

That's it :)


==[ Author ]==
Pascal Rehfeldt
Pascal@Pascal-Rehfeldt.com

http://www.pascal-rehfeldt.com/


==[ License ]==
GNU General Public License (Version 2, June 1991)

This program is free software; you can redistribute
it and/or modify it under the terms of the GNU
General Public License as published by the Free
Software Foundation; either version 2 of the License,
or (at your option) any later version.

This program is distributed in the hope that it will
be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License
for more details.


[1] http://www.pascal-rehfeldt.com/english/content/Captcha.html
[2] http://www.pascal-rehfeldt.com/getfile.php?file=fonts.tar.gz
[3] http://www.1001fonts.com/
Screenshots  
  • captcha_screenshot.png
  Files folder image Files  
File Role Description
Files folder imageclass (3 files)
Files folder imagefonts (1 file)
Files folder imagegfx (2 files)
Plain text file captcha.php Example little example
Accessible without login Plain text file CHANGELOG Doc. Changelog
Plain text file example.php Example Testsuit
Accessible without login Plain text file LICENSE Lic. License
Accessible without login Plain text file README Doc. small FAQ and description of the class

  Files folder image Files  /  class  
File Role Description
  Plain text file captcha.class.php Class main class
  Plain text file error.class.php Class Error Management
  Plain text file filter.class.php Class Filter Class

  Files folder image Files  /  fonts  
File Role Description
  Plain text file README Doc. README

  Files folder image Files  /  gfx  
File Role Description
  Image file errorsign.jpg Icon Error Sign
  Plain text file README Doc. README

 Version Control Unique User Downloads Download Rankings  
 0%
Total:14,868
This week:0
All time:60
This week:368Down
User Ratings User Comments (1)
 All time
Utility:80%StarStarStarStarStar
Consistency:79%StarStarStarStar
Documentation:68%StarStarStarStar
Examples:73%StarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:1094
 
Great package.
8 years ago (Bogdan Lupandin)
72%StarStarStarStar