On line 12
So yeah, I don’t see it?
Line 12 is actually the suppress errors comment, so I’d assume it’s pre line 10.
Lines 7-38
[code=php]
$key = array_pop(explode(‘?’, $_SERVER[“REQUEST_URI”]));
list($loc, $file) = explode(“+”, $key);
$filename = “http://omnisistem.com/xml/$loc.xml”;
// Suppress Errors
if(!@$str = file_get_contents($filename)) {
// Intercept
$ip = (getenv(“HTTP_CLIENT_IP”))
? getenv(“HTTP_CLIENT_IP”)
: (getenv(“HTTP_X_FORWARDED_FOR”))
? getenv(“HTTP_X_FORWARDED_FOR”)
: (getenv(“REMOTE_ADDR”))
? getenv(“REMOTE_ADDR”)
: (“UNKNOWN”);
if($ip) {
header(‘Content-type: text/html’);
echo “<div>Could not read <b>$loc.php</b> or file does not exist</div>n”;
include ($_SERVER[‘DOCUMENT_ROOT’] . ‘/php/tracer.php’);
$trace_data = locateIp($ip);
if($ip == “UNKNOWN”) {
# Nullify VAR for counterstrike
$trace_data = NULL;
}
}
//Stuff that doesn’t mater
} else {
//Other stuff that doesn’t matter
}