geoip_db_get_all_info
PECL geoip >= 1.0.1
geoip_db_get_all_info - Returns detailed information about all GeoIP database types
Example #1 A geoip_db_get_all_info example
Result: array(11) {
[1]=>
array(3) {
["available"]=>
bool(true)
["description"]=>
string(21) "GeoIP Country Edition"
["filename"]=>
string(32) "/usr/share/GeoIP/GeoIP.dat"
}
[ ... ]
[11]=>
array(3) {
["available"]=>
bool(false)
["description"]=>
string(25) "GeoIP Domain Name Edition"
["filename"]=>
string(38) "/usr/share/GeoIP/GeoIPDomain.dat"
}
}
Example #2 A geoip_db_get_all_info example
Result: GeoIP Country Edition