I need to get the user country code and I've managed this by using both
Is there any reason why I should use one of these over the other or are they both the exact same? They output the same result and as can be seen have the same index key so I assume it comes from the same place, is this correct?
I tried using the php function
geoip_country_code_by_name($_SERVER['REMOTE_ADDR]) but it just returns
null (geoip is installed) each time whereas the
apache_note have only not worked when I routed through switzerland.