geoip_setup_custom_directory(3) php man page | unix.com

Man Page: geoip_setup_custom_directory

Operating Environment: php

Section: 3

GEOIP_SETUP_CUSTOM_DIRECTORY(3) 					 1					   GEOIP_SETUP_CUSTOM_DIRECTORY(3)

geoip_setup_custom_directory - Set a custom directory for the GeoIP database.

SYNOPSIS
void geoip_setup_custom_directory (string $path)
DESCRIPTION
The geoip_setup_custom_directory(3) function will change the default directory of the GeoIP database. This is equivalent to changing geoip.custom_directory.
PARAMETERS
o $path - The full path of where the GeoIP database is on disk.
RETURN VALUES
No value is returned.
EXAMPLES
Example #1 A geoip_setup_custom_directory(3) example This will change the GeoIP default database path. <?php geoip_setup_custom_directory('/some/other/path'); print geoip_db_filename(GEOIP_COUNTRY_EDITION); ?> The above example will output: /some/other/path/GeoIP.dat PHP Documentation Group GEOIP_SETUP_CUSTOM_DIRECTORY(3)
Related Man Pages
geoiplookup6(1) - linux
geoipupdate(1) - linux
flowtop(8) - debian
flowtop(8) - centos
geoip_db_get_all_info(3) - php
Similar Topics in the Unix Linux Community
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Please Welcome Nicki Paul to the Moderator Team!