Home » Php » How to get country ID of ip without using any third party services?

How to get country ID of ip without using any third party services?

Posted by: admin October 26, 2017 Leave a comment

Questions:

right now i am using ‘https://freegeoip.net/json/‘ & ‘https://ipinfo.io
which sometimes delay in response and sometimes fatal error.

i want store ip-location mapping in my local, so that i will get response without any issues.

Answers: