Re: Re: http_referer. what's wrong with that?

From: Date: Thu, 12 Jan 2012 06:48:16 +0000
Subject: Re: Re: http_referer. what's wrong with that?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-316267@lists.php.net to get a copy of this message
While perhaps unlikely in "common users" it is also possible to prevent your browser from sending the referrer. IIRC, the referrer can also get mangled when passing through HTTPS (although I don't remember on which side, HTTP->HTTPS or HTTPS->HTTP or both) Matt On Thu, Jan 12, 2012 at 1:11 AM, Ross McKay <rosko@zeta.org.au> 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. > -- > Ross McKay, Toronto, NSW Australia > "Let the laddie play wi the knife - he'll learn" > - The Wee Book of Calvin > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#316267) next »