知识产权国家信息 [英] Country Information from IP
问题描述
我需要获取用户的IP地址,并使用该IP地址,我需要在页面中显示国家/地区名称.目前,我已经使用其他免费URI站点来获取我们需要传递返回IP地址的国家/地区一种XML,我们可以从中获取国家/地区的信息,但据我看来,从该站点获取详细信息可能并不安全,这可能不是其永久解决方案,任何人都可以建议什么是永久解决方案,以便我可以找到用户的详细信息
谢谢和问候,
Sakshi
Hi,
I need to get the IP Address of the User and also using that IP address i need to show the Country name in my page .At present i have used Other free URI site to get the Country where we need to pass the IP address which returns an XML from where we can get the information of Country but as per me its not safe to get details from that site may be its not permanent solution can any one suggest what will be the permanent solution so that i can find the details of the user
Thanks and Regards,
Sakshi
推荐答案
我认为您会发现此信息仅可从Internet查找站点获得,因为它是由不同组织提供的.您还会发现IP地址可能不是查找用户所居住国家的可靠方法.此网站上有一些有用的信息,常见问题解答等 [^ ].
I think you will find that this information is only available from internet lookup sites, as it is provided by different organisations. You will also find that an IP address may not be a reliable method of finding which country your user resides in. There is some useful information, FAQs etc on this site[^].
您可以从此处以及从
You can get idea from here, and also from here I have written code, and it just works fine, Now am leaving from office, i will forward it to you tomorrow in morning...
bye
这篇关于知识产权国家信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!