NETGEO_HTTP_ERROR = 'HTTP_ERROR'
NETGEO_INPUT_ERROR = 'INPUT_ERROR'
Can accept input of an AS number, an IP address or a host name Input can be individual or an array of addresses
$geo = new Net_Geo(); $geo->getRecord("php.net"); $geo->getRecord(array("php.net", "google.com"));
Results returned are a single array of results if a string is passed in or in the case of an array, a multi-dim array with the as the key
Query service type (CAIDA or localizer) is not available as a constructer to retain compatibility with existing CAIDA NetGeo classes (perl + java)
CHANGES -- 2006-03-16 Darren Ehlers <email@example.com> |
NETGEO_LIMIT_EXCEEDED = 'NETGEO_LIMIT_EXCEEDED'
NETGEO_NO_COUNTRY = 'NO_COUNTRY'
NETGEO_NO_MATCH = 'NO MATCH'