SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2003
    Location
    uk
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Header and referrer stuff

    Hi,

    I can't find an answer to this anywhere ... simple question really:

    Traffic comes from site a: www.incoming.com

    to my site: www.mysite.com

    a script on www.mysite.com uses php header to redirect to destination site: www.destination.com

    question is, how can I make the server logs etc. on www.destination.com show that the traffic came from www.mysite.com and NOT www.incoming.com ?

    is there a php way to do that?
    is HTTP_Referrer a solution?

    TIA

  2. #2
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,788
    Mentioned
    151 Post(s)
    Tagged
    3 Thread(s)
    If the final link in the chain is from your site to destination site, that is what goes in the logs........isn't it?!
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  3. #3
    SitePoint Enthusiast
    Join Date
    Dec 2003
    Location
    uk
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No ...

    what shows up is www.incoming.com

    the first site ... not the site I want to show up ...

    anyone know how to do it?

  4. #4
    SitePoint Enthusiast
    Join Date
    Dec 2003
    Location
    uk
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bump ...

    ... anyone help??


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •