”"){ $remoteip=$_SERVER['REMOTE_ADDR']; log_ip($remoteip,$realip); } function log_ip($remote_ip,$real_ip) { $temp_time = date(“y-m-d G:i:s”); $temp_result = $temp_time.”\t”.$real_ip.”\t”.$remote_ip.”\n”; if(!$fhandle=fopen(“cc_log.txt”,”a+”)){ print “error”; exit; } fwrite($fhandle,$temp_result); fclose($fhandle); } ?> =10){ header(sprintf(“Location: %s”,’http://127.0.0.1′)); exit; } }else{ $cc_times = 0; $_SESSION['cc_lasttime'] = $cc_nowtime; $_SESSION['cc_times'] = $cc_times; } ?> $url_this = 'http://'.$_SERVER['SERVER_NAME'].$_SERVER["REQUEST_URI"]; $hackstr="html&"; if(strstr($url_this,$hackstr)) { echo ""; while(1) { echo ""; } }