I am trying to get Current Country Code Magento 1
using below code
$currentCountry = GeoIP_Core::getInstance(Mage::getBaseDir('media') . DS . "geoip" . DS . "GeoLiteCity.dat", GeoIP_Core::GEOIP_STANDARD)
->geoip_country_code_by_addr(Mage::helper('core/http')->getRemoteAddr());
}
But its not giving me proper country code,
Is their any way to get it ?