如何获取用户的物理地址 [英] how to get user's physical address

查看:225
本文介绍了如何获取用户的物理地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要开发在PC或笔记本电脑上运行的C / S或B / S应用程序。

当用户打开应用程序时我想获得用户的实际地址。

我认为我们有两种方式

1. IP地址。如果用户设置代理服务器,有时IP地址不正确。

2. GPS。但超过99%的clint没有GPS设备



所以你能给我你的意见,怎么做。

谢谢。

I need develp a C/S or B/S application run at PC or notebook.
when user open the application i want to get the use's physical address.
I think we have 2 way
1. IP address. sometimes IP address is incorrect,if the user set proxy server.
2. GPS. but over 99% clint don't have GPS device

so could you give me your opinion, how to do it.
thanks.

推荐答案

为什么不直接询问用户呢?除此之外,我不希望申请人在未经我同意的情况下试图找出我的实际地址。 IP地址可以用来接近一些东西,比如都市区或城市,但即便如此,它的距离很远(我的IP在50英里以外的城市给我一个位置)。



我想我会问为什么你需要在没有用户干预的情况下这样做?它不是通常会改变的东西,所以你问一次就好了。
Why not just ask the user for it? Aside from that, I wouldn't want an application trying to figure out my physical address without my consent. The IP address can be used to get something close, like a metro area or city, but even then its off pretty far (my IP gives me a location in a city 50 miles away).

I guess I would ask why you need to do it without user intervention? Its not something that typically changes, so you ask once and thats it.


嗨Beyer,谢谢。当然,应用程序在用户同意之前获得物理地址。

我只想问一下功能是否可以完成。(可行性分析)
Hi Beyer,thank you. of course, the application gets physical address before user agree.
i just want to ask the funcation can be done.(feasibility analysis)


这篇关于如何获取用户的物理地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆