How To Tell Human From Search Engine?

I wrote a php script to track visitors to my website. How do I tell which visit is a real human and which is just a search engine. Obviously, I want to count human visitors, not search engines.

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

One Response to “How To Tell Human From Search Engine?”

  • safeware says:

    This may help you
    < ?php
    if (preg_match('/slurp|inktomisearch|[Gg]ru… $_SERVER['HTTP_USER_AGENT'])){
    echo "Not a human";
    }
    ?>

Leave a Reply

You must be logged in to post a comment.

Powered by Yahoo! Answers