PHP Classes


Recommend this page to a friend!
  Classes of Pascal Rehfeldt  >  CAPTCHA  >  README  >  Download  
Role: Documentation
Content type: text/plain
Description: small FAQ and description of the class
Class to generate little CAPTCHA pictures
Author: By
Last change: New Version
Date: 14 years ago
Size: 1,648 bytes


Class file image Download
==[ 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.


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

==[ 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.

For more information send a message to info at phpclasses dot org.