Quote:
Originally Posted by k0nr4d
Do
Code:
<? print_r($_SERVER); ?>
If you don't see your country listed, it means the module or database for it is not properly configured.
I don't remember the exact variable, but you should be able to access the country with $_SERVER['GEOIP_COUNTRY_NAME'] or something like that - it will be listed in that $_SERVER dump.
|
But even then
Code:
if ($geo == "") {
$geo['city'] = "Your City";
?>
won't work will it ?
I'm not on my dev machine so I can't try it.