Re: HTTP Header REFERER
| From: | Ernest E Vogelsinger | Date: | Mon, 26 Feb 2001 23:49:30 +0000 |
| Subject: | Re: HTTP Header REFERER | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-5737@lists.php.net to get a copy of this message | ||
You could try to create a listing of defined globals, something like
<?php
echo "<xmp>";
while (list($key, $value) = each($GLOBALS))
echo "$key => $value\n";
echo "</xmp>";
?>
and look how your webserver defines the HTTP_REFERER variable.
Anyway, there are situations where NO referer variable is available. That's
always the case when you get to the script not using a link, but type it
into the location bar directly (or call it up from your favorites).
AFAIK, IIS on NT4 sets HTTP_REFERER correctly if available.
...ebird
>O Ernest E. Vogelsinger
(\) http://www.1-at-web.at/
^ ICQ# 13394035