I have followed all the directions given at:
http://www.geoplugin.com/webservices/php
Yet my nothing is popping up the page is just blank ( Yes I have it uploaded on my online sever )
<?php
$user_ip = getenv('REMOTE_ADDR');
$geo = unserialize(file_get_contents("http://www.geoplugin.net/php.gp?ip=$user_ip"));
$city = $geo["geoplugin_city"];
$region = $geo["geoplugin_regionName"];
$country = $geo["geoplugin_countryName"];
echo "City: ".$city."<br>";
echo "Region: ".$region."<br>";
echo "Country: ".$country."<br>";
?>
The only thing that pops up is this
City:
Region:
Country:
With no answers. Help?