Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

geoip_db_filename(3) [php man page]

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)

Check Out this Related Man Page

flowtop(8)							netsniff-ng-toolkit							flowtop(8)

NAME
flowtop - provide top-like netfilter connection tracking information SYNOPSIS
flowtop [--city-db <path>][--country-db <path>] [-T|--tcp][-U|--udp][-v|--version][-h|--help] DESCRIPTION
flowtop is a tiny tool to print human-readable netfilter connection tracking information. EXAMPLES
flowtop Show only TCP flows flowtop --udp Show only UDP flows flowtop --city-db /usr/share/GeoIP/GeoIPCity.dat Use the specified GeoIP city database flowtop --country-db /usr/share/GeoIP/GeoIP.dat Use the specified GeoIP country database OPTIONS
-T|--tcp Only show TCP flows (default) -U|--udp Only show UDP flows -s|--show-src Also include flow source in top output --city-db Path to GeoIP city database --country-db Path to GeoIP country database -v|--version Print version. -h|--help Print help text and lists all options. AUTHOR
Written by Daniel Borkmann <daniel@netsniff-ng.org> DOCUMENTATION
Documentation by Emmanuel Roullit <emmanuel@netsniff-ng.org> BUGS
Please report bugs to <bugs@netsniff-ng.org> 2012-06-29 flowtop(8)
Man Page