In this tutorial I am going to teach you how to create an Ajax contact form for your website. The main purpose of using ajax for this task will be the fact that you're saving bandwith (hard to believe that in 2007 we're still looking to save bandwith but...), it communicates with the visitor on the same page, almost instantly and is faster because you're not loading another page to show a confirmation message or whatever else is supposed to show given the situations.
limited the number of attempts allowed (default 5) (thanks to Milan for the idea)
added random lines in the graphics to confuse OCR-enabled bots
easy to use and integrate into your own pages
works with any browser that displays images
requires no scripting capabilities at the client
randomly generated code to be entered
randomly generated region to be clicked at
uses PHP sessions
AlstraSoft Anti-Spam is the final solution that you will need to stop spam forever. There is nothing to download or install. Unlike other anti-spam solutions, AlstraSoft Anti-Spam prevents spam from ever reaching your inbox, regardless of how clever spammers become.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.