Re: http_referer. what's wrong with that?
| From: | Ross McKay | Date: | Thu, 12 Jan 2012 06:11:25 +0000 |
| Subject: | Re: http_referer. what's wrong with that? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316266@lists.php.net to get a copy of this message | ||
On Wed, 11 Jan 2012 21:27:58 -0800, Haluk Karamete wrote:
>[...]
>Notice: Undefined index: HTTP_REFERER in
>D:\Hosting\5291100\html\blueprint\bp_library.php on line 16
>die;
>[...]
>But I'm still curious, what configuration am I missing so that
>http_referer is treated like that?
You only get an HTTP_REFERER when you link to a page from another page.
If you go directly to the page, e.g. by typing / pasting the URL into
the location bar, or linking from an email, then there is no
HTTP_REFERER.
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin