Csani Posted October 12, 2006 Share Posted October 12, 2006 Hi Y'all!Is it possible to check the linking website's address with PHP? For example, if there's a link to my website on another page, can PHP find out where the link is, i.e. where the "hit" is coming from?Thank you for your attention!Csani Quote Link to comment https://forums.phpfreaks.com/topic/23748-how-to-check-the-linking-website/ Share on other sites More sharing options...
Daniel0 Posted October 12, 2006 Share Posted October 12, 2006 Yeah. You can use $_SERVER['HTTP_REFERER'] to find out what page that linked to it.(I bet it wont take very long before somebody come and tell that it can be spoofed) Quote Link to comment https://forums.phpfreaks.com/topic/23748-how-to-check-the-linking-website/#findComment-107847 Share on other sites More sharing options...
Csani Posted October 12, 2006 Author Share Posted October 12, 2006 Thanks! So, is there a way without being spoofed? :) Quote Link to comment https://forums.phpfreaks.com/topic/23748-how-to-check-the-linking-website/#findComment-107859 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.