't is wel niet zo mooi, maargoed:
<html>
<head>
<title>Stats submitter</title>
</head>
<body>
<font face="arial" size="2">
<?
$scr = Array(res=>$scr_width."x".$scr_height,color=>$scr_color);
$ua = strtolower(getenv("HTTP_USER_AGENT"));
if (eregi("(msie)([ ]?)([0-9]+)",$ua,$regs)) {
$br = "Microsoft Internet Explorer ".$regs[3];
} elseif (eregi("(netscape)([ ]?)([0-9]+)",$ua,$regs)) {
$br = "Netscape ".$regs[3];
}
if (eregi("(opera)([ ]?)([0-9]+)",$ua,$regs)) {
$br = "Opera ".$regs[3];
}
if (strstr($ua,"webtv")) {
$br = "WebTV";
}
if ($br == "" && eregi("(mozilla/)([0-9\.]+)",$ua,$regs)) {
$br = "Mozilla ".$regs[2];
}
if (eregi("(windows)( )([0-9\.]+)",$ua,$regs)) {
$os = "Windows ".$regs[3];
} elseif (eregi("(windows nt)( )([0-9\.]+)",$ua,$regs)) {
if ($regs[3] == "5.0" || $regs[3] == "5")
$os = "Windows 2000";
if ($regs[3] == "5.1")
$os = "Windows XP";
else
$os = "Windows NT ".$regs[3];
} elseif (eregi("(win)([ ]?)([0-9\.]+)",$ua,$regs)) {
$os = "Windows ".$regs[3];
} elseif (eregi("(winnt)([ ]?)([0-9\.]+)",$ua,$regs)) {
if ($regs[3] == "5.0" || $regs[3] == "5")
$os = "Windows 2000";
if ($regs[3] == "5.1")
$os = "Windows XP";
else
$os = "Windows NT ".$regs[3];
} elseif (strstr($ua,"os/2")) {
$os = "OS/2";
} elseif (strstr($ua,"68k")) {
$os = "Mac 68k";
} elseif (strstr($ua,"ppc")) {
$os = "Mac PowerPC";
} elseif (strstr($ua,"mac")) {
$os = "Mac";
} elseif (strstr($ua,"i86")) {
$os = "Sun i86";
} elseif (eregi("(sunos)([ ]?)([0-9\.]?)",$ua,$regs)) {
$os = "SunOS ".$regs[3];
} elseif (strstr($ua,"i86")) {
$os = "Sun i86";
} elseif (eregi("(irix)([ ]?)([0-9\.]?)",$ua,$regs)) {
$os = "Irix ".$regs[3];
} elseif (eregi("(hp-ux)([ ]?)([0-9\.]?)",$ua,$regs)) {
$os = "HP-UX ".$regs[3];
} elseif (eregi("(aix)([ ]?)([0-9\.]?)",$ua,$regs)) {
$os = "AIX ".$regs[3];
} elseif (strstr($ua,"inux")) {
$os = "Linux";
} elseif (strstr($ua,"sco") || strstr($ua,"unix_sv")) {
$os = "SCO";
} elseif (strstr($ua,"unix_system_v")) {
$os = "UnixWare";
} elseif (strstr($ua,"ncr")) {
$os = "MPRAS";
} elseif (strstr($ua,"reliantunix")) {
$os = "Reliant Unix";
} elseif (strstr($ua,"dec") || strstr($ua,"osf1") || strstr($ua,"dec_alpha") || strstr($ua,"alphaserver") || strstr($ua,"ultrix") || strstr($ua,"alphaserver") || strstr($ua,"alphastation")) {
$os = "Dec";
} elseif (strstr($ua,"sinix")) {
$os = "Sinix";
} elseif (strstr($ua,"freebsd")) {
$os = "FreeBSD";
} elseif (strstr($ua,"bsd")) {
$os = "BSD";
} elseif (strstr($ua,"unix")) {
$os = "Unix";
} elseif (strstr($ua,"vax") || strstr($ua,"openvms")) {
$os = "VMS";
}
echo "Browser: $br
<br>
Platform: $os
<br>
Screenres.: $scr[res]
<br>
Colordepth: $scr[color]
<br>
CPU-class: $cpu
<br>
"
?>
<p>
You shouldn't see this page, because it is supposed to run in the background.
<p>
Click <a href="http://213.51.8.142/">here</a> to go to the main page.
</font>
</body>
</html>