i have the following php-code
<?php
$record = geoip_record_by_name('2001:4860:0:2001::68');
#$record = geoip_record_by_name('8.8.8.8');
if ($record) {
print_r($record);
}
but unfortunately i dont work for ipv6. With ipv4 it is working. I already checked the link geoip_record_by_name returns nothing?
Returns the associative array on success, or FALSE if the address cannot be found in the database.
The google ipv6 2001:4860:0:2001::68 should be found. In reference to https://bugs.php.net/bug.php?id=59124 it should be fixxed in geoip 1.1.1 which i am running of course. The GeoLite Country IPv6 Database is active too in my setup.