| Simple Captcha Class |
 |
 |
|
| Written by Administrator |
Saturday, 20 May 2006
Download the zip file, extract and upload it to classes/simplecpatcha directory. If you intend to upload it in another location, make sure to edit your Guest Book Component Hack to point to the simplecaptcha location.
Configuration:
The captcha class has several parameters that need to be initially set in the configuration file, in this case the captcha.php file.
$config['BackgroundImage'] = "white.png";
$config['BackgroundColor'] = "FFFC00";
$config['Height']=30;
$config['Width']=100;
$config['Font_Size']=20;
$config['Font']="BRADHITC.TTF";
$config['TextMinimumAngle']=15;
$config['TextMaximumAngle']=45;
$config['TextColor']='000000';
$config['TextLength']=6;
$config['Transparency']=70;
The parameter settings shall be as per your requirement. Once these parameters are set, the usage will be straight forward.
Limitations:
- The first release only uses PNG as the background image.
- The image width and height setting in the configuration file must be the same the width and height of the background image.
Future Captcha Integration Projects
- Comment Limbot.
- Registration.
- Login.
For any problems, please post it on the Limbo Forum. |
| Last Updated ( Saturday, 20 May 2006 ) |