Log in

View Full Version : Geotargeting, Help with this coding


SouthernTn
03-09-2006, 03:43 PM
Need a bit of help with this coding.. How can I implement this into vb so that I can get it working...


<?
$ip = $_SERVER['REMOTE_ADDR'];
include("geoip.inc"); $gi = geoip_open(dirname(__FILE__)."/GeoIP.dat",GEOIP_STANDARD);
if (geoip_country_code_by_addr($gi, $ip)!= US) {
include('adsense.php');
}
else {
include('ypn.php');
}
geoip_close($gi);
?>