|
geoip_db_get_all_info
Returns detailed informations about all GeoIP database types
(PECL geoip:1.0.1)
The geoip_db_get_all_info() function will return detailed informations as a multi-dimensional array about all the GeoIP database types. This function is available even if no databases are installed. It will simply list them as non-available. The names of the different keys of the returning associative array are as follows:
ExamplesExample 770. A geoip_db_get_all_info() exampleThis will print the array containing all the informations. <?php The above example will output: array(11) { Example 771. A geoip_db_get_all_info() exampleYou can use the various constants as keys to get only parts of the information. <?php The above example will output: GeoIP Country Edition |