I have spam in my form

Discussion in 'PHP' started by afonseca, Oct 28, 2008.

  1. #1
    Hi everyone!

    I have a simple form in my website where peolpe can send an email requesting a catalogue.
    Until now I haven't received any spam by that form.
    Recently I sarted to receive some.
    From my understanding this is automatic crawlers that search these forms and put the data there.
    I have 2 questions:

    1-I try to find resources on web to study better this problem, but no luck. Anyone knows good articles on this?

    2- How can I stop this spam to happen. How can I do it?

    Thanks in advance
    António
     
    afonseca, Oct 28, 2008 IP
  2. alligator

    alligator Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Is the spam appearing only in your email inbox or on your messsageboard?
     
    alligator, Oct 28, 2008 IP
  3. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #3
    Plug a captcha system?
     
    ads2help, Oct 28, 2008 IP
  4. Bind

    Bind Peon

    Messages:
    70
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    the first line of defense is some type of challenge-response system (like image-verification - captcha), or a sessions/ticket system in the form will stop most automated requests.

    secondly, you can create a word filter system for the email subject/body.

    third, you can use a blacklist system.

    fouth, you can insititute an email validation whitelist (not recommended for commercial sites). This requires the visitor to validate their email address with your whitelist. This means that when they submit a form, your server sends them an email, requiring them to send one back manually. Then they are put on the whitelist and you get their email and any future emails. If they fail to manually validate within a certain period of time, the email is deleted.
     
    Bind, Oct 28, 2008 IP
  5. Funk-woo10

    Funk-woo10 Peon

    Messages:
    1,108
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #5
    show us the code we can help more ;-)
     
    Funk-woo10, Oct 28, 2008 IP
  6. afonseca

    afonseca Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hi all!

    Thanks for the help!
    We install a captcha system and will see how it will work.

    Thanks again.

    António
     
    afonseca, Oct 31, 2008 IP