geoip_country_code_by_name Get the two letter country code &reftitle.description; stringgeoip_country_code_by_name stringhostname The geoip_country_code_by_name function will return the two letter country code corresponding to a hostname or an IP address. &reftitle.parameters; hostname The hostname or IP address whose location is to be looked-up. &reftitle.returnvalues; Returns the two letter ISO country code on success, or &false; if the address cannot be found in the database. &reftitle.examples; A <function>geoip_country_code_by_name</function> example This will print where the host example.com is located. ]]> &example.outputs; &reftitle.seealso; geoip_country_code3_by_name geoip_country_name_by_name