header location, http referer blank, img issue

Discussion in 'PHP' started by benalmador, Dec 19, 2008.

  1. #1
    On site site1.com and many others people use ip showing gif
    <img src=http://site2.com/yourip.gif>

    I want to redirect from site2.com to site3.com
    Header(“Location: http://site3.com/newip.php”);

    But how to change or blank $REFERER, so site3.com sees as referrer site2.com or blank?
    Any Ideas? Is there any trick to that?
     
    benalmador, Dec 19, 2008 IP
  2. Danltn

    Danltn Well-Known Member

    Messages:
    679
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #2
    Sending referrer details or otherwise is up to the browser, not a script. Unless you do a custom request via sockets/cURL - which is unlikely to be what you want.
     
    Danltn, Dec 19, 2008 IP