Um, well, you want to see the required.php's code? OK:
<?
if (file_exists("stats/log/blocked/list"))
{
$mamamu = fopen("stats/log/blocked/list","r");
while(!feof($mamamu))
{
$basi = fread($mamamu,5000);
}
fclose($mamamu);
}
if (preg_match ("/".$HTTP_SERVER_VARS['REMOTE_ADDR']."/i", $basi))
{
}
else
{
$language = "&language=".$HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'];
$host = "&host=".$HTTP_SERVER_VARS['HTTP_HOST'];
$ide = preg_replace("/&/","RUSIN40",$HTTP_SERVER_VARS['HTTP_REFERER']);
$ref = "&ref=".$ide;
//$url = "&url=".$HTTP_SERVER_VARS['phpSelf'];
$browser = "&browser=".$HTTP_SERVER_VARS['HTTP_USER_AGENT'];
$remadr = "&remadr=".$HTTP_SERVER_VARS['REMOTE_ADDR'];
$remhos = "&remhos=".gethostbyaddr($_SERVER['REMOTE_ADDR']);
setlocale (LC_TIME, "en_UK");
$year = "&year=".strftime ("%Y");
$month = "&month=".strftime ("%m");
$month_name = "&month_name=".strftime ("%B");
$day_week = "&day_week=".strftime ("%A");
$week = "&week=".strftime ("%W");
$day = "&day=".strftime ("%d");
$hour = "&hour=".strftime ("%H");
$minute = "&minute=".strftime ("%M");
$second = "&second=".strftime ("%S");
$day_of_year = "&day_of_year=".strftime ("%j");
$uri = $HTTP_SERVER_VARS['REQUEST_URI'];
$url = stripslashes("http://".$HTTP_SERVER_VARS['SERVER_NAME'].$uri);
$ide = preg_replace("/&/","RUSIN40",$url);
$url = "&url=".$ide;
$unique = $browser.$remadr."\n";
?>
<script language="javascript">
<!--//
var cpu = window.navigator.cpuClass;
var platform = window.navigator.platform;
if (navigator.appname != 'Netscape') {color= "?color="+screen.colorDepth+"&cpu="+cpu+"&platform="+platform;}
else {color = "?color="+screen.pixelDepth;}
avail = "&avail="+screen.availwidth+"x"+screen.availheight;
res = "&res="+screen.width+"x"+screen.height;
isize = '" width="0" height="0" border="0" hspace="0" vspace="0"';
img = '<div id="counter" style="position:absolute; left:0px; top:0px; width:1; height:1; z-index:1"><img name="img" src="stats/log.php'+color+'<? echo $language.$host.$ref.$browser.$url.$remadr.$remhos.$year.$month.$month_name.$day_week.$week.$day.$hour.$minute.$second.$day_of_year.$uri;?>'+avail+res+isize+'"></div>';
document.write(img);
//-->
</script>
<?
}
?>
I'm sure it have some errors in it... but I want to sue this as it's very detailed logging system.