if(@$_REQUEST['url'] && checkImage())
{
$domain=str_replace ('http://','',$_REQUEST['url']);
$domain=str_replace ('https://','',$domain);
include("classes/geo.php");
$geo = new Geo("classes/geo.dat");
echo "Country code for: $_REQUEST[url] is ".(($l = $geo->ip2country(gethostbyname($domain))) ? $l : "Not found")." (ip is ".gethostbyname($domain).")";
}
include("footer.php");?>