Home > Backend Development > PHP Tutorial > 为什么apache中没有HTTP_REFERER

为什么apache中没有HTTP_REFERER

WBOY
Release: 2016-06-23 14:06:37
Original
1047 people have browsed it

输出空,phpinfo查看没有这个环境变量。


回复讨论(解决方案)

HTTP_REFERER 是浏览器发过来的,发了就有,没发就没有

你是怎么测试的? 要从一个页面到另一个页面才会有 HTTP_REFERER 

你是怎么测试的? 要从一个页面到另一个页面才会有 HTTP_REFERER
超链接才有效吗?

也不全是,form 提交的也有效。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template