Thread: geo targeting
View Single Post
Old 09-21-2017, 09:08 AM  
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
PHP Code:
$geoip_country_code getenv(GEOIP_COUNTRY_CODE);
echo 
'country_code: '.$geoip_country_code.'<br>USER IP<P>'
Close enough for hand grenades
or use maxmind <- google that
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote