Net_GeoIP::lookupCountryName()

Net_GeoIP::lookupCountryName() --  returns full country name for specified IP address

Synopsis

require_once "Net/GeoIP.php";

string lookupCountryName() (string $addr)

Description

This method returns the full country name for the given IP address. It works with both the free and the non-free databases.

Parameter

Throws

This method sthrow an exception if the IP address is invalid or if the database type is incorrect.