|
PHP5中文手册
geoip_db_filename(PECL geoip:1.0.1) geoip_db_filename — Returns the filename of the corresponding GeoIP Database 说明
string geoip_db_filename
( int $database
)
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. 参数
返回值Returns the filename of the corresponding database, or NULL on error. 范例
Example#1 A geoip_db_filename() example This will output the filename of the corresponding database.
<?php 上例将输出:
|