Re: http_referer. what's wrong with that?

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

 



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


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