Net_Geo
[ class tree: Net_Geo ] [ index: Net_Geo ] [ all elements ]

File: Geo.php

Source Location: /Net_Geo-1.0.1/Geo.php

Classes:

Net_Geo

Page Details:

Includes:

require_once('Cache/Function.php') [line 23]
require_once('PEAR.php') [line 22]

NETGEO_HTTP_ERROR [line 47]

NETGEO_HTTP_ERROR = 'HTTP_ERROR'

[ Top ]



NETGEO_INPUT_ERROR [line 46]

NETGEO_INPUT_ERROR = 'INPUT_ERROR'
NetGeo - determine geographic information on an internet address

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)


[ Top ]



NETGEO_LIMIT_EXCEEDED [line 50]

NETGEO_LIMIT_EXCEEDED = 'NETGEO_LIMIT_EXCEEDED'

[ Top ]



NETGEO_NO_COUNTRY [line 49]

NETGEO_NO_COUNTRY = 'NO_COUNTRY'

[ Top ]



NETGEO_NO_MATCH [line 48]

NETGEO_NO_MATCH = 'NO MATCH'

[ Top ]



Documentation generated on Mon, 11 Mar 2019 14:11:26 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.