Results 1 to 5 of 5

Thread: Nasty Comment Spam Problem

  1. #1
    Join Date
    Apr 2008
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Nasty Comment Spam Problem

    I have a problem that is above my novice PHP knowledge.

    I have a spammer or spambot that is bypassing my comment form to enter data into my mySQL database.

    Why do I assume this? I am assuming, because I configured one of the text fields to have a specific value in order for the form to be submitted to my PHP script. Data is still being entered into my database and that specific text field is blank in my database record. So that's why I am assuming that the spammer is bypassing the form.

    My problem is that I don't know how they are doing it. Further, how can I prevent this?

    Thanks.

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Use a system like recaptcha. It's a free service and is really great at stopping spam.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Apr 2008
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    I am using a captcha. But that doesn't help since my form is being bypassed.

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Well, you're going to need to give us more information. REQUIRE the captcha in the PHP script, rather than just letting data submitted without it (from another page, probably) work. For one thing, you can require it be submitted from your site, rather than from another domain.

    You don't even need a captcha, necessarily. If the bot is stupid enough, adding any little thing might stop it. Like "check this checkbox to avoid spam", and perhaps alternating with "don't check this checkbox, to avoid spam".

    You could also try to just block that IP address.

    But, again, we'd need more info to do anything specific.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    Quote Originally Posted by rate View Post
    I am using a captcha. But that doesn't help since my form is being bypassed.
    How is that possible? If you set it up correctly, the form should not process unless that has been filled in and is correct.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

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
  •