geoip_region_by_name
PECL geoip >= 0.2.0
geoip_region_by_name - Get the country code and region
Code Examples
Example #1 A geoip_region_by_name example
Result: Array
(
[country_code] => US
[region] => CA
)