(PECL geoip >= 1.0.4)
Returns the region name for some country and region code combo
string geoip_region_name_by_code ( string $country_code, string $region_code )
The geoip_region_name_by_code() function will return the region name corresponding to a country and region code combo.
In the United States, the region code corresponds to the two-letter abbreviation of each state. In Canada, the region code corresponds to th