Advanced Search

Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Idea to stop spam bots

  1. #11
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    11,804
    Thanks
    228
    Thanked 658 Times in 646 Posts

    Default

    No, that's simply untrue. They're completely unrelated. You can use cookies from PHP or, I think, send them in HTTP headers directly. ReCAPTCHA does something different, true. It uses Javascript. I believe it still uses sessions or something like sessions, though. I can't remember the details.

    There are OCR programs to read text from an image. I don't know how many bots actually try that, but, yes, that's why the letters are obfuscated.

    Well, it's still a lot more work than just creating a text-only bot that reads HTML pages.
    Daniel - Freelance Web Design | <?php?> | <html>| Deutsch | italiano | español | português | català | un peu de français | Ninasoma Kiswahili | 日本語の学生でした。| درست العربية

  2. #12
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,144
    Thanks
    62
    Thanked 441 Times in 430 Posts
    Blog Entries
    7

    Default

    Quote Originally Posted by keyboard1333 View Post
    Cookies rely on javascript.
    If you don't have javascript on, cookies won't work.
    cookies work over HTTP. JavaScript can create them, but is not required for them to function.

    Quote Originally Posted by djr33 View Post
    ...You can use cookies from PHP or, I think, send them in HTTP headers directly.
    PHP simply sets the proper HTTP headers. (i.e., You could do the same thing using header().)

    Quote Originally Posted by keyboard1333 View Post
    I thought there are bots out there that actually analyse the image and try to work out what it says?
    That's why all the letters on them are slanted and so on.
    true. not with javascript, however (that'd be pretty inefficient and not very effective). AFAIK, python and java are common bot languages (for more advanced bots; there are tons of php bots running around that may or may not actually qualify as "bots").
    Last edited by traq; 12-02-2012 at 10:51 PM.
    Adrian ~ facebook | gist/github

    ['66.215.156.37','208.75.149.97'] // ip,ip array!
    "Take that sticker *off* your hat; you look stupid" --Wil Wheaton

  3. #13
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    11,804
    Thanks
    228
    Thanked 658 Times in 646 Posts

    Default

    PHP simply sets the proper HTTP headers. (i.e., You could do the same thing using header().)
    Right. I meant that you don't even need PHP. You could do something with .htaccess or just in the server settings for what to do with HTTP requests. (And of course any other serverside language.)
    Daniel - Freelance Web Design | <?php?> | <html>| Deutsch | italiano | español | português | català | un peu de français | Ninasoma Kiswahili | 日本語の学生でした。| درست العربية

Similar Threads

  1. Replies: 16
    Last Post: 10-19-2010, 06:12 PM
  2. Are Dynamic Ajax links followed by bots?
    By easinewe in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 03-22-2010, 04:42 AM
  3. bots (easy question)
    By james438 in forum PHP
    Replies: 3
    Last Post: 10-22-2008, 08:56 AM
  4. search bots and script
    By Sherback in forum The lounge
    Replies: 1
    Last Post: 06-07-2005, 08:25 AM

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
  •