HTTP Referrer

Discussion in 'PHP' started by bamb0lin, Jun 3, 2007.

  1. #1
    Is there a way how I can change http Referrer using http? I have a domain from which I redirecting user like this:

    header("Location: newpage");

    But in the newpage the referrer is not the domain that I am redirecting from. How can I do that?
     
    bamb0lin, Jun 3, 2007 IP
  2. krt

    krt Well-Known Member

    Messages:
    829
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    120
    #2
    Maybe:
    header("Referer: http://example.com");

    Doubt this works though as the web browser sends the referer, not the server...

    edit: Perhaps make a redirect page that uses a meta refresh or JS redirect?
     
    krt, Jun 3, 2007 IP