News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Frikk.tk:
How to make your own CAPTCHA protection using PHP
March 16, 2006 @ 07:17:27

On Frikk.tk, there's been a new tutorial posted with complete details on creating a CAPTCHA image for your site (in the context of a blog).

This is a tutorial on how to make your own (very simple) CAPTCHA protection using PHP to create a dynamically generated jpeg image. This is useful for preventing comment spam. I have a working demo available, and I also use this technique to protect my scratchpad and weblog comments. You can download a zip file with all the files used in this tutorial.

They introduce what a CAPTCHA image is and some of its common uses around the internet, including it's high popularity on blogging software. Their example script creates an image with a random five-character hex phrase, centered, and puts longer lines through it to make it harder to read. They provide not only the script to make the actual image, but also explain how to use it in an HTML form to make it userful.

If you like the tutorial, be sure to digg it to share it with others.

1 comment voice your opinion now!
CAPTCHA image protection dynamic internet blog CAPTCHA image protection dynamic internet blog


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: Example Zend Framework Blog Application Tutorial - Part 9 PDF Download

IBM developerWorks: Generate Flash movies on the fly with PHP

PHPBuilder.com: Pro PHP Security / Preventing SQL Injection, Part 3

Stefan Mischook's Blog: What Makes a PHP Web Application?

PHPClasses.org: CAPTCHA harder to break using animations


Community Events

Don't see your event here?
Let us know!


library framework laravel5 podcast interview introduction unittest threedevsandamaybe opinion extension wordpress api voicesoftheelephpant series language development release feature community laravel

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework