[thelist] Q on $_SERVER['HTTP_REFERER']
apathetic
timbooker at gmail.com
Sun Jun 6 02:53:48 CDT 2004
> When I do this:
> print_r ( $_SERVER );
> I do not get:
> [HTTP_REFERER]
HTTP_REFERER only appears when the user has actually arrived at the
page by clicking through from somewhere else. If the value doesn't
appear in the _SERVER array, you can assume that your page has been
accessed directly or (less likely) that the browser isn't providing
the correct referrer information.
To test this, simply create a test page with a link to your script,
and click the link.
Tim
--
http://www.apatheticgenius.com/
More information about the thelist
mailing list