Jump to content

IP logging by country


sasori

Recommended Posts

Hi,

 

how to determine which country the IP is coming from ? like e.g

when a visitor came to a site, I can log the ip using $_SERVER['REMOTE_ADDR'] , but that's all a combination of numbers,

if let's say I want to log only the IP address coming from the US,AU,UK, or any other country that I want specifically,

how to do that?

 

Link to comment
https://forums.phpfreaks.com/topic/256248-ip-logging-by-country/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.