News Feed
Sections




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

ITNewb.com:
Building a Spam Free Contact Form without Captchas
August 12, 2009 @ 08:14:53

New on the ITNewb.com site today there's a tutorial looking at making your forms a bit more "spam free" without resorting to CAPTCHA images.

Most anti-spam methods used by websites today are annoying at best. They use impossible-to-read captcha images, or they make users jump through some kind of hoop to get the email address instead of just clicking on it. This can mean lost sales and opportunities for you, because each hurdle turns away more users.

The trick uses some CSS and Javascript to hide a form field (display:none) and check on the submit to ensure that it's empty. The email address is the output of a Javascript document.write() as well, preventing those pulling the information off of your site without Javascript support (like some automated tools) to miss it completely.

0 comments voice your opinion now!
spam form protect tutorial contact


blog comments powered by Disqus

Similar Posts

DeveloperTutorials.com: How to Install PHP 5 on Linux

SEO Expert Blog: Amazon Wish Lists with SimpleXML

Gonzalo Ayuso: Integrating WebSockets with PHP applications. Silex and socket.io playing together.

Stoyan Stefanov's Blog: Automating HTTPWatch with PHP

SitePoint Web Foundations Blog: Quick Tip: Install Zend Server 7 on an Ubuntu 14.04 Vagrant Box


Community Events





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


composer community podcast framework symfony security library voicesoftheelephpant version series tool list interview conference language artisanfiles opinion laravel release introduction

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