geoip_country_name_by_name

geoip_country_name_by_name

(PECL geoip >= 0.2.0)

geoip_country_name_by_nameGet the full country name

Description

string geoip_country_name_by_name ( string $hostname )

The geoip_country_name_by_name() function will return the full country name corresponding to a hostname or an IP address.

Parameters

hostname

The hostname or IP address whose location is to be lo