Who can give me a database of IP addresses and geo-location correspondence?

Source: Internet
Author: User
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.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.