Monday, 5 August 2013

Creating CAPTCHA using PHP

What is CAPTCHA?

CAPTCHA stands for Computer Automated Public Turing test to tell Computers and Humans apart

They are used for providing security  in various applications like login forms , registration , password recovery etc .



Now lets Create our own captcha application .


Here goes the html code for the application .
The file is named as Captcha.html



Here goes the  PHP code for image creation.
The file is named as captcha_validation.php.



Here goes the  PHP for image creation.
The file is named as image_creation.php.


Here is the output screen


Just download the files from here and enjoy :-)

All the best :-)

Leave your doubts and suggestions in the comments section :-)

1 comment: