View Single Post
Old 02-21-2003, 09:09 PM  
Jak
So Fucking Banned
 
Join Date: Apr 2002
Location: ripenedpeach.com
Posts: 1,143
Question for php experts...

I wrote a php redirection script that uses header("Location: $MyVariable"); to accomplish the redirect. I call the script from a link on a site like this:

http://www.sitewiththescript.com/redirect.php?url=http://www.redirecthere.com

I've just found out that this apparently won't pass the http referer info as coming from the site the script is at. Instead, it passes through the referer info from the site that called on the script. In other words, the referer headers are sent as coming from "sitethatcalledthescript.com" instead of "sitewiththescript.com"

How can I pass the referer as coming from the site the script is on?

Thanks.
Jak is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote