geoip_country_code_by_name

PECL geoip >= 0.2.0
geoip_country_code_by_name - Get the two letter country code
Manual
Code Examples

Example #1 A geoip_country_code_by_name example

Result: This host is located in: US
PHP Version: