Spamming Forms

Discussion in 'Programming' started by drew68, May 3, 2007.

  1. #1
    Hello Everyone,

    We currently have a form on our site and we're getting spammed with spam links. I contacted our hosting provider and there solution was enabling Spam Assassin but that really doesn't delete the IP it's coming from. These are not bot generated, these are actual humans spamming.

    My question is...is there a hidden script so we can block these spammers on our form?

    Thanks,

    Drew
     
    drew68, May 3, 2007 IP
  2. adamjthompson

    adamjthompson Well-Known Member

    Messages:
    1,242
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    125
    #2
    Hello Drew,

    You have two good options:

    1: use htaccess to ban the spammers IP

    2: put a validation script on the form

    Either method should work.

    ~Adam
     
    adamjthompson, May 3, 2007 IP
  3. drew68

    drew68 Well-Known Member

    Messages:
    582
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #3
    Adam, Thanks for your response.

    Do you have direct access to this Validation Script?

    My concern with validation script is that what if an email is valid? an email in the field that is. how is it sure that it's invalid or not? i just recieved yet another spam bluemail and it's . Granted that email looks spammy but how does it distinguish what's a spam email or not?

    Drew
     
    drew68, May 3, 2007 IP
  4. adamjthompson

    adamjthompson Well-Known Member

    Messages:
    1,242
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    125
    #4
    Hello Drew,

    I didn't have any particular validation script in mind. I was thinking of a CAPTCHA.

    You might do something very simple. When the page with the form is loaded, you could use PHP to display a string of numbers, and require the user to enter that string into a box to successfully submit the form. Assuming that your form spammer(s) is a bot, that should do the trick.

    ~Adam
     
    adamjthompson, May 3, 2007 IP
  5. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #5
    If you have cPanel you can easily block the IP.
     
    login, May 3, 2007 IP
  6. jgjg

    jgjg Peon

    Messages:
    595
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #6
    annoying huh?

    I'm looking for a simple catpha script too for my sites forms.

    You might try some very simple validation feature like 2 checkboxes:

    I am a real person
    I am a script

    and say 'Check 1'

    this would be very simple but I am guessing the vast majority of these submissions come from software that could not get around this very simple validation feature? just an idea...
     
    jgjg, May 9, 2007 IP
  7. xerox

    xerox Banned

    Messages:
    577
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    with cppanel you are abtle to block the ID
     
    xerox, May 9, 2007 IP