View Single Post
Old 09-01-2004, 09:38 PM  
{fusion}
Confirmed User
 
Join Date: Sep 2003
Posts: 1,650
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);
{fusion} is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote