Chinaunix

标题: 如何得到HTTP请求的整个头部内容? [打印本页]

作者: guotie    时间: 2008-09-19 10:44
标题: 如何得到HTTP请求的整个头部内容?
我想得到用户HTTP请求时整个头部的内容,有什么方法可以实现?

谢谢!
作者: shitou254    时间: 2008-09-19 10:47
找个嗅探的工具,就能看的很清楚。 推荐:WinSock Expert
作者: guotie    时间: 2008-09-19 15:09
可能我没有说清楚,我是想在服务器端通过php得到http get头部的所有信息。
作者: shitou254    时间: 2008-09-19 15:16
你想要的基本上$_SERVER里边都有了!!!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2