Create CAPTCHA in your PHP application


CAPTCHA is unavoidable feature nowadays in almost every forms available open to public., to avoid some scripts or bots abusing it.

In this tutorial let me show you a simple way to create captcha by yourself in your PHP application.

Let me create a form where we need to use captcha. we ll call it as myform.php

Have this image as captcha background. we ll call it as captcha.jpg


Now the PHP file which creates captcha from the Image. we ll call it as captcha.php

Have all these files in same folder and execute myform.php

You will be able to see CAPTCHA is on action… modify the codes and use on your application with rich user interfaces. Watch our youtube video tutorial for step by step instruction to do the above.


Share on :