Attempting to geolocate country and region via GeoIP Module / MaxMind DB.
Double checked it's loaded via phpinfo():
geoip
geoip support enabled
geoip extension version 1.0.8
geoip library version 1004005
Double checked the DB:
<?
$db = geoip_database_info();
print_r($db);
?>
Returns:
GEO-106FREE 20090201 Build 1 Copyright (c) 2007 MaxMind LLC All Rights Reserved
But when I try this:
<?
$record = geoip_record_by_name("76.109.14.196");
if ($record) {
print_r($record);
}
?>
It turns up blank.
Is there a piece I'm missing?