1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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