Cee3po Posted May 8, 2007 Share Posted May 8, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/50525-web-referring/ Share on other sites More sharing options...
per1os Posted May 8, 2007 Share Posted May 8, 2007 I am not sure what exactly you are trying to do. www.php.net/curl That might help you can specify your own refering page using that. Quote Link to comment https://forums.phpfreaks.com/topic/50525-web-referring/#findComment-248258 Share on other sites More sharing options...
Cee3po Posted May 8, 2007 Author Share Posted May 8, 2007 I am not sure what exactly you are trying to do. www.php.net/curl That might help you can specify your own refering page using that. What is Happening i'm getting Traffic from different sources that i send to clients its been brought to my attention that they can see where the traffic is coming from i dont want them to see that so here is a example: Traffic -> Buffer Page -> Clients Form. Problem is i want the Buffer page to be Referring URL and its not on there records they are seeing Traffic as Referring URL and not the PHP Forward go between page. I want them to see the Buffer Page as the Referring URL is this possible? Quote Link to comment https://forums.phpfreaks.com/topic/50525-web-referring/#findComment-248273 Share on other sites More sharing options...
taith Posted May 8, 2007 Share Posted May 8, 2007 since headers are sent from the browser, and headers are what hold that information... instead of using header(Location: ); you'd need to either use a javascript redirect, or a meta redirect, which then resends the header, setting the buffer page, to the referrer Quote Link to comment https://forums.phpfreaks.com/topic/50525-web-referring/#findComment-248283 Share on other sites More sharing options...
Cee3po Posted May 8, 2007 Author Share Posted May 8, 2007 Taith Thank you so much i will look into that got to go to a meeting i will check in later. Quote Link to comment https://forums.phpfreaks.com/topic/50525-web-referring/#findComment-248287 Share on other sites More sharing options...
Cee3po Posted May 8, 2007 Author Share Posted May 8, 2007 Can Meta Redirects be on a PHP page? Quote Link to comment https://forums.phpfreaks.com/topic/50525-web-referring/#findComment-248291 Share on other sites More sharing options...
per1os Posted May 8, 2007 Share Posted May 8, 2007 Why wouldn't they be able to? Meta redirects are done after the page is loaded on the client side. Just as long as they are printed to the output they should work fine. Quote Link to comment https://forums.phpfreaks.com/topic/50525-web-referring/#findComment-248297 Share on other sites More sharing options...
taith Posted May 8, 2007 Share Posted May 8, 2007 ya they can :-) just ?><meta><? or echo it... :-) php only alters, manipulates and creates strings(arrays and integers)... basically with .html files... what you put in, is a static string... sent to the browser the same every time... with .php files... it builds that string, then sends it to the browser... so any/all html(even js) will work within a php string... Quote Link to comment https://forums.phpfreaks.com/topic/50525-web-referring/#findComment-248309 Share on other sites More sharing options...
Cee3po Posted May 8, 2007 Author Share Posted May 8, 2007 So i will try a Meta I dont want to look bad its just alot of the Industry Im in is Shady. Thanks again great Help Quote Link to comment https://forums.phpfreaks.com/topic/50525-web-referring/#findComment-248573 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.