“HTTP_REFERER” [英] 'HTTP_REFERER'

查看:85
本文介绍了“HTTP_REFERER”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨民谣


我正在阅读下面的信息,我在想,这是多么值得信赖。


我有一个重定向使用.htaccess文件到位。

重定向到的文件是404.php。有没有办法找出文件是什么

人们最初输入?我在考虑$ _SERVER [" HTTP_REFERER"]

但这似乎没有诀窍(它是空的)。


你能帮忙吗? ?


TIA


- Nicolaas

PS这里是关于$ _SERVER [" HTTP_REFERER"]的信息

''HTTP_REFERER'':将用户

代理引用到当前页面的页面地址(如果有的话)。这是由用户代理设置的。并非所有用户都会设置此代理,而有些代理则可以将HTTP_REFERER修改为

一项功能。简而言之,它不能真正被信任。

Hi Folk

I am reading the info below and I am thinking, just how trusted is it.

I have a redirection in place using an .htaccess file. The file it
redirects to is 404.php. Is there a way to find out what the file was that
people entered originally? I was thinking about $_SERVER["HTTP_REFERER"]
but that does not seem to do the trick (it is empty).

Can you help?

TIA

- Nicolaas
PS here is the info on $_SERVER["HTTP_REFERER"]
''HTTP_REFERER'': The address of the page (if any) which referred the user
agent to the current page. This is set by the user agent. Not all user
agents will set this, and some provide the ability to modify HTTP_REFERER as
a feature. In short, it cannot really be trusted.

推荐答案

_SERVER [" HTTP_REFERER"]

但似乎没有诀窍(它是空的)。


你能帮帮忙吗?


TIA


- Nicolaas

PS这里的信息是
_SERVER["HTTP_REFERER"]
but that does not seem to do the trick (it is empty).

Can you help?

TIA

- Nicolaas
PS here is the info on


_SERVER [" HTTP_REFERER"]

''HTTP_REFERER'':页面的地址(如果有的话)将用户

代理引导到当前页面。这是由用户代理设置的。并非所有用户都会设置此代理,而有些代理则可以将HTTP_REFERER修改为

一项功能。简而言之,它无法真正被信任。
_SERVER["HTTP_REFERER"]
''HTTP_REFERER'': The address of the page (if any) which referred the user
agent to the current page. This is set by the user agent. Not all user
agents will set this, and some provide the ability to modify HTTP_REFERER as
a feature. In short, it cannot really be trusted.


> Hi Folk
> Hi Folk

我正在阅读下面的信息,我在想,它是多么值得信赖。

我使用.htaccess文件进行了重定向。它重定向到的文件是404.php。有没有办法找出人们最初输入的文件是什么?我在考虑

I am reading the info below and I am thinking, just how trusted is it.

I have a redirection in place using an .htaccess file. The file it redirects
to is 404.php. Is there a way to find out what the file was that people
entered originally? I was thinking about


这篇关于“HTTP_REFERER”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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