1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

Does this simple php script blank the referrer??

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

  1. JJohn

    JJohn Junior Member

    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' ) ;