如何跟踪代理后面的真实IP地址 [英] How To Track the Real IP Address Behind the Proxy

查看:276
本文介绍了如何跟踪代理后面的真实IP地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何使用PHP跟踪代理后面的真实IP地址?我的意思是纯PHP实现,因为它们可以关闭浏览器的js.顺便说一句,当JS打开时,我可以使用HTML 5地理位置,所以我不需要IP地址即可找到用户.

How can we track the Real IP address behind the proxy using PHP?I mean a pure PHP implementation.Because they can turn off the js of their browsers.BTW when the JS is turn on I may use HTML 5 geolocation so I don't need the IP address to locate the user.

推荐答案

您可以查看 X-Forwarded-For HTTP标头(如果已发送),但无法保证知道的方式.

You can look at the X-Forwarded-For HTTP header if one is sent, but there is no guaranteed way to know.

这篇关于如何跟踪代理后面的真实IP地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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