http_referer vs document.referrer question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jaymoore_299
Forum Contributor
Posts: 128
Joined: Wed May 11, 2005 6:40 pm
Contact:

http_referer vs document.referrer question

Post by jaymoore_299 »

I'm aware that this variable is sometimes empty. Is there any difference between this and the javascript version of this document.referrer in terms of accuracy as well as how often it would come up as empty?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

just don't rely on it...

The difference is entirely up to the browser's settings..
Post Reply