Monday 4 February 2013

Simple PHP Anti-Spam Captcha Contact Form Submission


This tutorial teaches you how to create and add a simple but powerful Anti-Spam Captcha to your system or application using PHP.

A good way to avoid automatic form submissions when creating a web form or to prevent automated web robot tools and spammers from taking advantage of your forms and scripts is to use some kind of verification process.

One of the best ways is to use an image verification also known as Captcha. What it does is to dynamically create an image with a random string displayed on it. Then visitors or users of your website are asked to type that string in a text field and once the form is submitted, it checks if the string on the image matches the one inputted by the user.

Because there is no easy way to read a text from an image (image recognition) this is a good way to protect your web forms from spammers.

The system is very easy to understand and customize with good programming code comments to ease usability.


Click here to view this tutorial

3 comments:

  1. This tutorial teaches you how how do you stop spam to create and add a simple but powerful Anti-Spam Captcha to your system or application using PHP.

    ReplyDelete
  2. The cliché of a errant click on an e-mail attachment is how do you stop spam well covered territory, but like most clichés there’s an element of truth. An e-mail delivered virus taking down corporate computer

    ReplyDelete
  3. Hello just wanted to give you a quick heads up. The text in your content seem
    to be running off the screen in Firefox. I'm not
    sure if this is a format issue or something to do
    with browser compatibility but I thought I'd post to let you know.
    The style and design look great though! Hope you get the issue fixed soon.

    Kudos

    Feel free to surf to my weblog take a look at the site here

    ReplyDelete