View Single Post
  #5 (permalink)  
Old 07-14-2008, 03:18 AM
BozoClown's Avatar
BozoClown BozoClown is offline
Jr. VIP
 
Join Date: May 2008
Posts: 342
Thanks: 51
Thanked 73 Times in 44 Posts
Activity: 29%
Longevity: 16%
Today: 1/5
Default Re: Manipulating the Referer

Quote:
Originally Posted by Genjutsu View Post
yes, the redirection method determines what referer is shown.

For example, using a php header redirect would show site A as bieng the referer.


Code:
<?PHP

header('Location: http://www.example.com/');

?>
I know the method decides the referer, my query is, can the method result into two different referers for the client side and server side.

My current method shows(on the client side) SiteB as the referer, I want to make sure what I see on the client side mirrors what is recorded on the server side.

I am using
Code:
echo $_SERVER['HTTP_REFERER'];
(which is server side) to show me (client side) who the referer is. I don't want to make a mistake of believing I have set up the right referer yet there is another variable storing a different referer?
__________________
The Following 3 Users Say Thank You to BozoClown For This Useful Post:
Superman (06-29-1938), Batman (04-30-1938), Chuck Norris (03-09-1940)
Reply With Quote