pluginbaby Posted September 24, 2006 Share Posted September 24, 2006 Is there a way or a function we can use to see which website we are coming from (url)?There are some pages on my website I only want people to see if they come from my website ;) Quote Link to comment https://forums.phpfreaks.com/topic/21866-track-the-place-we-come-from/ Share on other sites More sharing options...
Daniel0 Posted September 24, 2006 Share Posted September 24, 2006 $_SERVER['HTTP_REFERER'] Quote Link to comment https://forums.phpfreaks.com/topic/21866-track-the-place-we-come-from/#findComment-97645 Share on other sites More sharing options...
pluginbaby Posted September 24, 2006 Author Share Posted September 24, 2006 thanks, works perfect ;) Quote Link to comment https://forums.phpfreaks.com/topic/21866-track-the-place-we-come-from/#findComment-97651 Share on other sites More sharing options...
wildteen88 Posted September 24, 2006 Share Posted September 24, 2006 Be cautious though as the referer variable can be spoofed so dont reply heavily on this variable. Quote Link to comment https://forums.phpfreaks.com/topic/21866-track-the-place-we-come-from/#findComment-97658 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.