|
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.
|