This method returns the 2-letter country code for the given IP address. It works with both the free and the non-free databases.
Exemple 49-1. Looking up the country code
|
This method throws an exception if the IP address is invalid or if the database type is incorrect.
Précédent | Sommaire | Suivant |
Net_GeoIP::lookupCountryName() | Niveau supérieur | Net_GeoIP::lookupRegion() |