如何获得我们的网站访问者的位置? [英] How to get location of our site visitor?
本文介绍了如何获得我们的网站访问者的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发一个网页.我想将访问者的位置自动存储在数据库中.我该如何实施?
请帮助我.
I am developing a web page. I want to store the location of a visitor in database automatically. How can I implement this?
Please help me.
推荐答案
您可以跟踪IP地址,然后根据IP地址定义一个区域.
IP是为给定区域定义的.在此处阅读一下 ^ ].
You can track the IP address and then based on the IP address a defined region.
IP''s are defined for a given region. Have a read on it here[^].
这篇关于如何获得我们的网站访问者的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文