geoip_db_get_all_info

PECL geoip >= 1.0.1
geoip_db_get_all_info - Returns detailed information about all GeoIP database types
Manual
Code Examples

geoip_db_get_all_info( ): array

The geoip_db_get_all_info function will return detailed information 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:

"available" -- Boolean, indicate if DB is available (see geoip_db_avail)

"description" -- The database description

"filename" -- The database filename on disk (see geoip_db_filename)

Parameters

This function has no parameters.

Return Values

Returns the associative array.

Example of geoip_db_get_all_info

Show all examples for geoip_db_get_all_info

PHP Version: