News Feed
Sections




News Archive
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
June 11, 2009 @ 13: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.

1 comment voice your opinion now!
form contact tutorial captcha


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Testing APIs with RAML

DevShed: Using Static Methods to Validate Data with Helpers in PHP 5

Mikko Koppanen's Blog: Fill patterns

NetTuts.com: How to Use Selenium 2 With PHPUnit

WaxJelly Blog: How to write a custom Smarty function in PHP


Community Events

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


interview release example series introduction language podcast php7 framework community security laravel5 opinion extension laravel library version voicesoftheelephpant video api

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