> Can anyone tell me under what circumstances this is set?

When the browser feels like setting it :-(

It's entirely up to the browser to send that information.

Some browsers go so far as to send it when you type a new URL into the 
location bar.  Others only on the A tag.

This makes HTTP_REFERER rather unreliable less useful than it could be.

You can send it yourself in your FORMs using:

<INPUT TYPE=HIDDEN NAME=REFERER VALUE=<?php echo $PHP_SELF;?>>

Don't use HTTP_REFERER, since PHP will probably over-write your data with 
the browser's.

Actually, you could and should be converting to using $_POST and $_GET etc, 
so that would be moot.

-- 
Like music?  http://l-i-e.com/artists.htm


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to