Who can give me a database with a corresponding IP address and geographical location? You want to convert the visitor's IP address to the address location, such as "Hefei Telecom. Who can provide such a database? Or tell me the conversion method? Sharing: who can give me a database with a corresponding IP address and geographical location?
You want to convert the visitor's IP address to the address location, such as "Hefei Telecom. Who can provide such a database? Or tell me the conversion method?
Share:
------ Solution --------------------
This is true, but there are many ways in which Google, Sina, and Youdao all provide ip addresses for querying the interface, which is no longer slow than your own server query, the second method is qq's pure version of QQWry. datip local database, you can search, you can do a local ip address query function, but you need to know that the ip address is not always the same, the same ip address may not always be the same place, therefore, this database will be updated and should be updated in a timely manner. I will use this QQWry. dat implements an ip address retrieval interface. you can check it out! Http://www.521php.com/api/ip.php