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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12 Jan 2012, at 14:10, Jonesy wrote:

> 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; ........

One point of clarity... the browser sends the referrer header, not the page that contains the link, whether it's a simple website or an application. Websites have absolutely no control over it.

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux