Home >Backend Development >PHP Tutorial > php 判断是否在当前页面打开链接,该怎么解决

php 判断是否在当前页面打开链接,该怎么解决

WBOY
WBOYOriginal
2016-06-13 13:51:271110browse

php 判断是否在当前页面打开链接
例如:
现在打开了a.php,在当前页面的地址栏打开b.php,可以判断在a.php地址栏打开的吗?
如果,新建一个页面,输入b.php,可以判断这个是新页面打开的吗?

------解决方案--------------------
无最终解决办法

HTTP_REFERER可以伪装

即使没有伪装,从bookmark/email/irc/IM/软件发送……这些怎么判别?

Statement:
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