1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Does this simple php script blank the referrer??

Discussion in 'Affiliate Programs' started by JJohn, Dec 28, 2009.

  1. JJohn

    JJohn Newbie

    Nov 2, 2009
    Likes Received:
    I dont know much about php and redirects, but im just using this very very simple php redirect script.
    In one of my aff programs, it says the referrer is blank...which is NOT what I want, and is not something I thought these couple lines of code will do.
    Why would it show blank and not the site?
    Is there a simple script like below that won't blank the referrer? I don't mind if they visit the referring site and it redirect automatically, but I don't want blank!

    These are the very sophisticated lines of codes! lol

    header( 'Location: http://www.yoursite.com/new_page.html' ) ;