IP to Country
The IP to country module provides information on the country of the user from their IP.
Getting the country
When IP to country is installed, you can get the country like this:
- IpToCountry.GetRequestRegion() returns the two letter region code for the current user's country
- IpToCountry.GetRequestCountry() returns the name of the current user's country