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 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) 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 !!!!! Link to comment https://forums.phpfreaks.com/topic/84735-php-simple-question/#findComment-431831 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.