(PECL geoip >= 1.0.1)
geoip_db_filename — Returns the filename of the corresponding GeoIP Database
geoip_db_filename ( int $database ) : string
The geoip_db_filename() function returns the filename of the corresponding GeoIP Database.
It does not indicate if the file exists or not on disk, only where the library is looking for the database.
database
The database type as an integer. You can use the various constants defined with this extension (ie: GEOIP_*_EDITION).
Returns the filename of the corresponding database, or null
on error.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.geoip-db-filename.php