Search

Thursday, 21 January 2010

Simple php Image Captcha

Hello all,

my next work is a very simple image captcha php class which simple prints a random image with string on it which is very useful for security purposes.

the file could be downloaded from http://nasaralla.googlecode.com/files/captcha.php

and the simple to use instructions are as follows:
_________________________________________
//include the class file
include("captcha.php");
//instanciate the class
$c = new Captcha();
//generate the random string with this function
$c->generateCaptcha();
//print the image
$c->printCaptcha();
_________________________________________

No comments:

Post a Comment

There was an error in this gadget