Resource Types
GeoIP Functions
GeoIP
PHP Manual

# Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

`GEOIP_COUNTRY_EDITION` (integer)
`GEOIP_REGION_EDITION_REV0` (integer)
`GEOIP_CITY_EDITION_REV0` (integer)
`GEOIP_ORG_EDITION` (integer)
`GEOIP_ISP_EDITION` (integer)
`GEOIP_CITY_EDITION_REV1` (integer)
`GEOIP_REGION_EDITION_REV1` (integer)
`GEOIP_PROXY_EDITION` (integer)
`GEOIP_ASNUM_EDITION` (integer)
`GEOIP_NETSPEED_EDITION` (integer)
`GEOIP_DOMAIN_EDITION` (integer)

The following constants are for net speed:

`GEOIP_UNKNOWN_SPEED` (integer)
`GEOIP_DIALUP_SPEED` (integer)
`GEOIP_CABLEDSL_SPEED` (integer)
`GEOIP_CORPORATE_SPEED` (integer)

Resource Types
GeoIP Functions
GeoIP
PHP Manual