Want to convert the guest's IP address to address location, similar to "Hefei Telecom" and the like. Who can provide a database like this? Or tell me how to convert?
Reply to discussion (solution)
No one's supposed to have it.
This really has, but there are many ways, Google, Sina, Youdao, etc. have provided IP attribution to query interface, no more than your own server query slow, The second way is QQ has improved a pure version of the Qqwry.datip attribution database, you can search, you can do a own IP attribution query function, but to know that IP is not always constant, the same IP is not always the same place, so this database will be updated, to update, I use this QQW Ry. DAT made an IP attribution to query the interface, you can look at! http://www.521php.com/api/ip.php
I'm just going to record the guest's IP address in my program and automatically translate it into a geographic location, so I need an IP address (sometimes an IP address segment) and a corresponding database for the geographic location. You said Qqwry.datip I search for a look.
I downloaded to the qqwry.dat, just don't know how to use it. What is the format of this file?
This should be pure, the data can be derivative, if read this. DAT files, parsing
Qqwry.dat is the stored IP and address, which is actually a library. I've done projects before, and I've used this.
But I can't find the project for a while. You read from the Internet search. is a small program, especially short. We recommend using Google Search, more accurate than Baidu search.