Re: http_referer. what's wrong with that?

From: Date: Thu, 12 Jan 2012 14:10:48 +0000
Subject: Re: http_referer. what's wrong with that?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-316271@lists.php.net to get a copy of this message
On Thu, 12 Jan 2012 17:11:25 +1100, Ross McKay wrote: > 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. Not so. It depends. A number of email programs of the HTML-email-abomination ilk send referrers. I just completed some log scans to verify an 'issue' with AOL sessions, and their email contraption _does_ send a referrer. I've seen others, as well. "74.93.226.126" - - [14/Oct/2011:21:08:50 +0000] "GET /UBSC/ HTTP/1.1" 200 4502 "http://mail.aol.com/34188-111/aol-6/en-us/Suite.aspx" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; ........ Jonesy -- Marvin L Jones | jonz | W3DHJ | linux 38.24N 104.55W | @ config.com | Jonesy | OS/2 * Killfiling google & XXXXbanter.com: jonz.net/ng.htm

« previous php.general (#316271) next »