Question for php experts...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jak
    So Fucking Banned
    • Apr 2002
    • 1143

    #1

    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.
  • jact
    Confirmed User
    • Sep 2002
    • 9134

    #2
    Delay it long enough that it'll be less than transparent to the browser. Add some wait state time or some useless functions or something to slow it down.. Otherwise, run it all from the desired domain...
    Free agent

    Comment

    Working...