Query: geoip_setup_custom_directory
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GEOIP_SETUP_CUSTOM_DIRECTORY(3) 1 GEOIP_SETUP_CUSTOM_DIRECTORY(3) geoip_setup_custom_directory - Set a custom directory for the GeoIP database.SYNOPSISvoid geoip_setup_custom_directory (string $path)DESCRIPTIONThe geoip_setup_custom_directory(3) function will change the default directory of the GeoIP database. This is equivalent to changing geoip.custom_directory.PARAMETERSo $path - The full path of where the GeoIP database is on disk.RETURN VALUESNo value is returned.EXAMPLESExample #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)