geoip_db_avail Determine if GeoIP Database is available &reftitle.description; boolgeoip_db_avail intdatabase The geoip_db_avail function returns if the corresponding GeoIP Database is available and can be opened on disk. It does not indicate if the file is a proper database, only if it is readable. &reftitle.parameters; database The database type as an integer. You can use the various constants defined with this extension (ie: GEOIP_*_EDITION). &reftitle.returnvalues; Returns &true; is database exists, &false; if not found, or &null; on error. &reftitle.examples; A <function>geoip_db_avail</function> example This will output the current database version string. ]]> &example.outputs;