geoip_db_filenameReturns the filename of the corresponding GeoIP Database
&reftitle.description;
stringgeoip_db_filenameintdatabase
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.
&reftitle.parameters;
database
The database type as an integer. You can use the
various constants defined with
this extension (ie: GEOIP_*_EDITION).
&reftitle.returnvalues;
Returns the filename of the corresponding database, or &null; on error.
&reftitle.examples;
A geoip_db_filename example
This will output the filename of the corresponding database.
]]>
&example.outputs;