IT

IP로 country판별

yongary 2017. 8. 28. 10:27

 MaxMind의 Geolocation DB를 이용하면 된다.

GeoIP2-Country DB를 이용하는 게 좋고,  DB의 path를 "GeoIP2-Country.mmdb" 로 잡는다. REF