Your announce.php works in my server, but try dele this
Code:
//--- Fix Increase ratio using Firefox & Deny access made with a browser ---//
$agent = $_SERVER["HTTP_USER_AGENT"];
if (isset($_SERVER['HTTP_COOKIE']) || isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) || isset($_SERVER['HTTP_ACCEPT_CHARSET']))
if (isset($_GET['info_hash']) || isset($_GET['uploaded']) || isset($_GET['downloaded']) || isset($_GET['event']))
{
$ip = getip();
write_log("A user has been detected trying to cheat. Their IP address is $ip");
die("Your penis is too small... go eat some brocoli.");
}
elseif (ereg("^Mozilla\\/", $agent) || ereg("^Opera\\/", $agent) || ereg("^Links ", $agent) || ereg("^Lynx\\/", $agent) || ereg("^curl\\/", $agent))
die("torrent not registered with this tracker");
//---- end of fix ----//