Net_Geo::getRecord() (Previous) (Next) Net_GeoIP::getInstance()

View this page in Last updated: Sun, 20 Jul 2008
English | French | German | Hungarian | Japanese | Polish | Spanish | Plain HTML

Net_GeoIP

Table of Contents
Net_GeoIP::getInstance() --  method to get an instance and avoid re-parsing the database
Net_GeoIP::lookupCountryName() --  returns full country name for specified IP address
Net_GeoIP::lookupCountryCode() --  returns 2-letter country code (e.g. "CA") for specified IP address
Net_GeoIP::lookupRegion() --  returns the region for given IP address.
Net_GeoIP::lookupLocation() --  returns the location record for specified IP address
Net_GeoIP::lookupOrg() --  returns the name of the organization or ISP for the given IP address.

Library to perform geo-location lookups of IP addresses.

This package is built on top of MaxMind's GeoIP databases to accurately determine the geographic location of an IP address. MaxMind offers both free and non-free database. Please refer to their website for specific instructures on obtaining both database types.

Net_Geo::getRecord() (Previous) (Next) Net_GeoIP::getInstance()

Download Documentation Last updated: Sun, 20 Jul 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.