Hi all.
This is absolutely mystifying me - I was hoping someone here would know.
I need to get at the variable $_SERVER[HTTP_REFERER]. However, for some reason it is not available. When I echo the server variables on one page, HTTP_REFERER is in the $_SERVER array. However, when I echo the server variables from another page on the same server, HTTP_REFERER is not found. Does anyone know why this may be happening? Thanks.
Changing server variables
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
1) The code for both pages is
I've been very careful to ensure both pages have the same code.
2) I am viewing both of these pages using the same copy of IE6 on my computer. Is there some hidden condition that I'm not aware of?
Thanks.
Code: Select all
<?php
print_r($_SERVER);
?>2) I am viewing both of these pages using the same copy of IE6 on my computer. Is there some hidden condition that I'm not aware of?
Thanks.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.