Results 1 to 3 of 3

Thread: spam protecting a form

  1. #1
    Join Date
    Nov 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default spam protecting a form

    On some forums when you sign up it has a human verification that is not capcha.

    It asks "The name of this forum is dy_____ ______"

    If in the perl script that the form connects to it has

    Code:
    If forumname != namic forums then
    error.
    and

    Code:
    If forumname = namic forums then send email
    Would that stop bots the same way that capcha does?

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    It will help, but only if the CGI-Bin directory is inaccessible to all visitors. The good news is, on most reliable server hosts this is default.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

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

    Default

    Bots aren't really capable of guessing-- they're programmed. The reason that an image is used is because those images are very hard to program a bot to read. So, it is not hard at all to program a bot to enter that value. It must be a bit random and hard to guess, or at least not enough of a target that someone will reprogram a bot.
    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

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
  •