Hi i am new and thank you for the community. I have problem with clients checking the referring websites from the traffic i am sending them so i put this code on a buffer page and they are still able to see the page before here is the code i used:
<?
header("location: http://www.NoseyClient.com");
?>

I was hoping that this would show them the Referring URL i wanted them see but it skipped my PHP buffer page is there a way in PHP to block Referring URL from the Client?

Best Regards and Thank You

    Cee wrote:

    is there a way in PHP to block Referring URL from the Client?

    Though I don't quite understand your scenario/question here, the basic answer I can give for this quesiton is: no.

    The 'HTTP_REFERER' header is provided to the server by the client's browser. If their browser is supplying referers, there's no way you can tell them to ignore your website when calculating the referring page.

      You could get the var and store it in a session var for later use. This is before you redirect them anywhere.

      $_SESSION['var'] = $_SERVER['HTTP_REFERER'];
      echo $_SESSION['var'];
      

        The Problem i am having is that i want my php go between page to be the URL that is showing to my clients and its not..
        I need the Web Refferal to Show the Forward Page Not the Page from my Sponsored Traffic.
        Example

        Sponsored Search Results -> My Site PHP Forward Page -> Clients Form on Client Server

        The Way they see it is

        Sponsored Search Results -> Clients Form on Client Server

        No middle Protect Traffic page

          Why would you want to do that.
          I thought you'd know what the referrer is as its on your site.
          If you are doing it to check things then checking a referrer is a bad thing as they can be faked.

            No i dont want the client to see the reffering web site there form reffering system is totally bypassing my middle page

              Cee,

              Don't most advertising clients have accounts setup to identify the referrer?

              Most companies who invest in web advertising want to build their own statistics as to how effective the advertising is, not entirely trusting the stats of the person they are advertising with...

              edit {

              Oh, Second note...

              couldn't you just have a link available, with a javascript to "auto click" it on load, and have a standard link in <noscript>?

              }

                Ok Thank you for suggestions lets jjust considered this resolved I wil just let Big Brother win. im done Thank you for the help and this is a great community

                  Write a Reply...