Net_GeoIP::lookupCountryCode() | Net_GeoIP::lookupLocation() |
Net_GeoIP | |
PEAR Manual | |
require_once "Net/GeoIP.php"; |
array lookupRegion() (
string $addr
)
This method returns an array containing the country code and the region for the specified IP address. It works only with a non-free Region database.
Looking up the region
|
This method throws an exception if the IP address is invalid.
Net_GeoIP::lookupCountryCode() | Net_GeoIP::lookupLocation() |
Net_GeoIP | |
PEAR Manual | |