Results 1 to 3 of 3

Thread: form security question

  1. #1
    Join Date
    Feb 2005

    form security question


    I have a form that I would like to add some code to keep the bots out. Something simple like “how much is 2+10” or some other requirement.

    Can anyone tell me how to do this, or is there a cut and paste code I could get somewhere on the internet?


  2. #2
    Join Date
    Oct 2005
    Cambridgeshire, UK
    Regardless of which method you use you will have to use some kind of server-side scripting language such as PHP to validate the user input.

    Some common methods of spam catching are, like you say maths questions (1+1), common knowledge questions (Is fire hot or cold) or CAPTCHA images (a selection of random letters and numbers).

    Do you have any knowledge of PHP or the like?
    - Freelancing Services
    - Web Development Snippets, Hints and Tips

  3. #3
    Join Date
    Feb 2005
    no I don't have any programming background. I have a form that someone developed for me and I just wanted to add that one item to the bottom to trip up bots.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles