require_once(”geoip/geoip.inc”);
$gi = geoip_open(”geoip/GeoIP.dat”,GEOIP_STANDARD);
$country_code = geoip_country_code_by_addr($gi, $_SERVER['REMOTE_ADDR']);
geoip_close($gi);
if($country_code != 'US' && $country_code != 'CA')
{
header("Location: http://www.formulaboats.com/showroom/default5.aspx");
/* Make sure that code below does not get executed when we redirect. */
exit;
}
echo $byburl;
?>