//We do not allow proxy here
$result = file_get_contents("http://v1.nastyhosts.com/".$_SERVER["REMOTE_ADDR"]);
$result = json_decode($result, true);
if($result["suggestion"] == "deny") {
$view['main']['result_html'] = '';Sorry Proxy not allowed If not on a proxy ,i still cant help you !!
$message = "Proxy Detected";
goto error;
}
if(@fsockopen($_SERVER['REMOTE_ADDR'], 80, $errstr, $errno, 1))
{
$view['main']['result_html'] = '';Sorry Proxy not allowed If not on a proxy ,i still cant help you !!
$message = "Proxy Detected";
goto error;
}
//end We do not allow proxy here
?>