php man page for geoip_db_filename

Query: geoip_db_filename

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

GEOIP_DB_FILENAME(3)							 1						      GEOIP_DB_FILENAME(3)

geoip_db_filename - Returns the filename of the corresponding GeoIP Database

SYNOPSIS
string geoip_db_filename (int $database)
DESCRIPTION
The geoip_db_filename(3) 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.
PARAMETERS
o $database - The database type as an integer. You can use the various constants defined with this extension (ie: GEOIP_*_EDITION).
RETURN VALUES
Returns the filename of the corresponding database, or NULL on error.
EXAMPLES
Example #1 A geoip_db_filename(3) example This will output the filename of the corresponding database. <?php print geoip_db_filename(GEOIP_COUNTRY_EDITION); ?> The above example will output: /usr/share/GeoIP/GeoIP.dat PHP Documentation Group GEOIP_DB_FILENAME(3)
Related Man Pages
geoiplookup6(1) - debian
geoiplookup(1) - debian
geoiplookup(1) - centos
flowtop(8) - centos
geoip_db_get_all_info(3) - php
Similar Topics in the Unix Linux Community
Apache2 mod_geoip installed