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.