How to make Country - Specific Web Site (and contents)? [closed]

Asked
Active3 hr before
Viewed126 times

2 Answers

countryclosedspecific
90%

How do I change web content according to visitor's country?,Find centralized, trusted content and collaborate around the technologies you use most., Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers , Introducing Content Health, a new way to keep the knowledge base up-to-date

Try

$userip = $_SERVER["HTTP_CLIENT_IP"];

$ip_data = json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=".$userip));
echo $ip_data - > geoplugin_countryCode;
88%

Country code top-level domains with commercial licenses,A country code top-level domain (ccTLD) is an Internet top-level domain generally used or reserved for a country, sovereign state, or dependent territory identified with a country code. All ASCII ccTLD identifiers are two letters long, and all two-letter top-level domains are ccTLDs. ,Country code second-level domain,^ "gccTLD generic country-code domains". dynadot.com.

load more v

Other "country-closed" queries related to "How to make Country - Specific Web Site (and contents)? [closed]"