Created
November 13, 2009 15:58
-
-
Save breck7/233921 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$isBot = preg_match('/(spider|crawl|curl|python|twitt|bot|google|perl|archiver|monitor|mechanize)/i',$_SERVER['HTTP_USER_AGENT']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment