View Single Post
Old 08-14-2015, 05:24 AM  
AdultKing
Raise Your Weapon
 
AdultKing's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Outback Australia
Posts: 15,601
Quote:
Originally Posted by RummyBoy View Post
Well my code shows me a city.... your code doesnt work for me at all.
Doesn't show any city.
Can you please post the output from the following code.

Code:
$geo = geoip_record_by_name($_SERVER['REMOTE_ADDR']);
echo  $geo['city'];
and

Code:
$geo = geoip_record_by_name($_SERVER['REMOTE_ADDR']);
print_r($geo);
AdultKing is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote