I have seen on many deal sites a welcome that clearly has identified the city I am living in and shows me content with my city name on top. Can this be done any suggestions? I am switching ti D7 so that would be nice touch too.

Thanks for any tips and help.

Comments

This PHP script

<?
$c = unserialize(file_get_contents('http://www.geoplugin.net/php.gp?ip='.$_SERVER['REMOTE_ADDR']));
?>

Will populate an array with all sorts of information about your visitor, including his location.

That's great. Now I'll just have to go play and figure out how to get the data and then shift to landing page as result.

Thnx for this really a wonderful tool.

Also you might like to check out http://drupal.org/node/820116

Good thread, thnx