<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Predefined Constants</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="geoip.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.geoip.html">GeoIP Functions</a></div> <div class="up"><a href="book.geoip.html">GeoIP</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="geoip.constants" class="appendix"> <h1>Predefined Constants</h1> <p class="simpara"> 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. </p> <dl> <dt id="constant.geoip-country-edition"> <span class="term"> <strong><code>GEOIP_COUNTRY_EDITION</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.geoip-region-edition-rev0"> <span class="term"> <strong><code>GEOIP_REGION_EDITION_REV0</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.geoip-city-edition-rev0"> <span class="term"> <strong><code>GEOIP_CITY_EDITION_REV0</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.geoip-org-edition"> <span class="term"> <strong><code>GEOIP_ORG_EDITION</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.geoip-isp-edition"> <span class="term"> <strong><code>GEOIP_ISP_EDITION</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.geoip-city-edition-rev1"> <span class="term"> <strong><code>GEOIP_CITY_EDITION_REV1</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.geoip-region-edition-rev1"> <span class="term"> <strong><code>GEOIP_REGION_EDITION_REV1</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.geoip-proxy-edition"> <span class="term"> <strong><code>GEOIP_PROXY_EDITION</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.geoip-asnum-edition"> <span class="term"> <strong><code>GEOIP_ASNUM_EDITION</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.geoip-netspeed-edition"> <span class="term"> <strong><code>GEOIP_NETSPEED_EDITION</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.geoip-domain-edition"> <span class="term"> <strong><code>GEOIP_DOMAIN_EDITION</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> </dl> <p class="para"> The following constants are for net speed: </p> <dl> <dt id="constant.geoip-unknown-speed"> <span class="term"> <strong><code>GEOIP_UNKNOWN_SPEED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"/> </dd> </dt> <dt id="constant.geoip-dialup-speed"> <span class="term"> <strong><code>GEOIP_DIALUP_SPEED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"/> </dd> </dt> <dt id="constant.geoip-cabledsl-speed"> <span class="term"> <strong><code>GEOIP_CABLEDSL_SPEED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"/> </dd> </dt> <dt id="constant.geoip-corporate-speed"> <span class="term"> <strong><code>GEOIP_CORPORATE_SPEED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"/> </dd> </dt> </dl> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="geoip.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.geoip.html">GeoIP Functions</a></div> <div class="up"><a href="book.geoip.html">GeoIP</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>