http_referer. what's wrong with that?
| From: | Haluk Karamete | Date: | Thu, 12 Jan 2012 05:27:58 +0000 |
| Subject: | http_referer. what's wrong with that? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-316265@lists.php.net to get a copy of this message | ||
Because I got this
echo $_SERVER['HTTP_REFERER'];
I end up with this
Notice: Undefined index: HTTP_REFERER in
D:\Hosting\5291100\html\blueprint\bp_library.php on line 16
die;
Now, this is of course after the <?php error_reporting (E_ALL); ?> change.
One solution is to dodge it by
echo @$_SERVER['HTTP_REFERER'];
But I'm still curious, what configuration am I missing so that
http_referer is treated like that?