UK IP address lookup API [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this questionim looking for a UK IP address lookup api ( or PHP script ) to find the location of a user. I want to produce more relevent results for a user when searching a directory. All the ones I have found just say 'UK' and dont get any more information than that. Can anyone point me in the right direction?
Regards,
Phil
There are a lot of companies that sell/provide IP information very detailed.
One of them is MaxMind
MaxMind is one of a number of geolocation providers that provide interfaces to PHP.
From my answer to another question:
MaxMind provide a free country and city lookup module, which can either be installed as an Apache module, or there is code for a purely PHP solution available too.
Try http://www.ipgp.net They have a free API with accurate results
精彩评论