veveu Posted January 6, 2008 Share Posted January 6, 2008 Is it possible to get the URL of the page that requested the current php page ? For example I want to see from where my page was accessed. (google, other sites ....) Thanks in advance, Veveu Quote Link to comment https://forums.phpfreaks.com/topic/84735-php-simple-question/ Share on other sites More sharing options...
wildteen88 Posted January 6, 2008 Share Posted January 6, 2008 You could use the $_SERVER['HTTP_REFERER'] variable. That variable will hold the referral url (The url to the site in which the user came from to get to yours) Quote Link to comment https://forums.phpfreaks.com/topic/84735-php-simple-question/#findComment-431824 Share on other sites More sharing options...
veveu Posted January 6, 2008 Author Share Posted January 6, 2008 Thanks a lot !!!!! Quote Link to comment https://forums.phpfreaks.com/topic/84735-php-simple-question/#findComment-431831 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.