如何判断手机浏览器所在国家
是否可以确定手机浏览器的国家/地区?
我在其他地方读到过,手机 IP 地址经常变化,并且某些 IP 位置数据库可能会将其报告为来自不同国家/地区。 1
Is it possible to determine the country of a mobile phone browser?
I've read elsewhere that mobile phone IP addresses frequently change and can be reported as originating from different countries by some IP location databases. 1
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我使用 MaxMind 进行 IP 数据库查找。他们提供免费的数据库和简单的 API,提供城市级精度。该数据库每月更新一次。他们还提供收费的更准确的数据库,显示都会区、公司 IP 标识、ISP 或 NetSpeed 。成本非常合理。
请记住,对于 IP 查找,如果有人通过公司 LAN 进行连接,您将获得该 LAN 的位置。同样,我注意到来自挪威(Opera Mini 浏览器转码器)和加拿大(RIM BlackBerry 转码器?)的流量高于预期。
I use an IP database lookup from MaxMind. They offer a free database & simple API which provides city level accuracy. This database is updated monthly. They also provide for a fee more accurate database's showing metro area, corporate IP identification, ISP or NetSpeed. The cost is very reasonable.
Bear in mind that for the IP lookup, if someone is connecting over a corporate Lan, you'll get the location of that Lan. Similarly, I've noticed that higher than expected traffic is reported as coming from Norway (the Opera Mini Browser transcoder) and Canada (RIM BlackBerry transcoders ?).