Home > Article > Backend Development > Notice: Undefined index: HTTP_REFERER in,该如何解决
Notice: Undefined index: HTTP_REFERER in
Notice: Undefined index: HTTP_REFERER in
无法登录网站后台,出现这个提示,以前可以登录的,请教这是怎么回事?
------解决思路----------------------
改为
define('PREV_URL', isset($_SERVER["HTTP_REFERER"]) ? $_SERVER["HTTP_REFERER"] : ''); //上一页地址