Results 1 to 5 of 5

Thread: HTML coding needed -- site being abused

  1. #1
    Junior Registered
    Join Date
    Jan 2004
    Posts
    5

    HTML coding needed -- site being abused

    I have a form on my website that is being used to send me advertising weblinks -- they vary from educational links to porn. While it's no big deal to simply delete the messages from my inbox, I'm getting a little pissed. And they are increasing daily!!

    What I need is to add something to the form that will put a stop to it -- like a security box of 5 digits the user has to enter before sending. But I don't know how to code that sort of thing. Do you know, or do you know where I can find how? (I'm also open to other ideas)

    Thanks in advance,
    Jane, The Menu Maker

  2. #2
    Are you using any kind of CMS? A lot of the open source ones out there have plugins to do exactly what you're looking for. It's called a captcha I believe.

  3. #3
    Registered
    Join Date
    Mar 2006
    Posts
    156
    Like deronsizemore said, what you are refering to is called "CAPTCHA". It's a great way to prevent spam and to make sure that a real person is using your forms:

    http://phpsec.org/articles/2005/text-captcha.html
    http://codewalkers.com/tutorials/95/1.html

    I hope it helps.

  4. #4
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,055
    Additionally consider changing your form some to throw them off.

    1. Check to see what the HTTP_REFERER is when processing the form, if it isn't your site, don't process it.

    2. Name your submit button and check for it's existence before processing the form. If they're using an automated process they likely include all your form variables, but they usually forget the button.

    3. If these checks fail, tell them it worked anyway.

    4. Include IP addresses with all messages sent, so you can ban repeat offenders.
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  5. #5
    Registered
    Join Date
    Apr 2007
    Posts
    12
    Those links to article and tutorial is very helpful. Thanks for sharing it. Do you have any tutorials for creating the forms for websites using HTML? Can captcha be used with HTML?
    Thanks,
    Shop and Save with FREE App My Shopping Genie Review | Make Money with My Shopping Genie Home Business

Similar Threads

  1. Am I right about duplicate content in site promotion?
    By Shyflower in forum General Promotion
    Replies: 7
    Last Post: 10-05-2008, 08:52 AM
  2. Success Stories
    By Chris in forum General Chat
    Replies: 50
    Last Post: 11-03-2007, 12:28 PM
  3. Site design milestone from HTML 4.01 transitional to strict
    By KLB in forum HTML, CSS, Layout, and Design
    Replies: 2
    Last Post: 07-15-2006, 08:52 PM
  4. How To Increase Targeted Web Site Traffic
    By pay786 in forum General Promotion
    Replies: 1
    Last Post: 11-01-2005, 01:45 PM
  5. fitness site admin needed
    By tony in forum The Marketplace
    Replies: 0
    Last Post: 02-22-2005, 01:21 PM

Bookmarks

Posting Permissions

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