in reply to displaying visitors full hostname

In any case, relying on country-codes (as it appears you intend) is NOT trustworthy. Note comment above about anonymisers; be aware that not all "users" will actually be from the country provided by that user's browser (even if you can get it to cough up an honest hostname, which (possibly redundant) is !eq referrer).