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

NETTUTS.com:
Build Your Own Captcha and Contact Form
Jun 11, 2009 @ 18:39:48

NETTUTS.com has posted a new tutorial on how to create and use your own CAPTCHA image to help protect the submission of your form.

Ever get hit with spam through the contact form on your personal site? Well, here is a short tutorial on how to build a custom captcha to keep the bad guys out.

The tutorial's broken up into eight steps:

  • captcha.php and the Session
  • Random String
  • Storage Folder and Colors
  • Building the Image
  • Image Final
  • contact.php
  • HTML & CSS
  • Validate

Plenty of screen shots and example code/HTML/CSS are included.

tagged: form contact tutorial captcha

Link:


Trending Topics: