View Single Post
Old 09-01-2004, 09:39 PM  
WiredGuy
Pounding Googlebot
 
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,503
Quote:
Originally posted by {fusion}
nothing to see here, move along

if ($CFG['redirect']||!$url2go)
{//check if visitor is bot or not
$isbot = false;
$ip = getenv("REMOTE_ADDR");
$who = strtolower($_SERVER['HTTP_USER_AGENT']);

$fp = fopen($FILES['file_ips'],"r");
while (($s = fgets($fp,1024))&&!$isbot)
{
$s = trim($s);
$k = strpos($s,' ');
if ($k!hahahahafalse)
$s = trim(substr($s,0,$k));
if ($iphahahaha$s)
$isbot = true;
}
fclose($fp);
I know what that does
WG
__________________
I play with Google.
WiredGuy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote