DEV Community

Answer:

If all these answers are not useful then you can try API way.

1.http://extreme-ip-lookup.com/json/[IP ADDRESS HERE]

EXAMPLE: http://extreme-ip-lookup.com/json/106.192.146.13

2.http://ip-api.com/json/[IP ADDRESS HERE]

EXAMPLE: http://ip-api.com/json/113.14.168.85

once it works for you don't forget to convert JSON into PHP.

Top comments (0)