westminster86 Posted April 6, 2008 Share Posted April 6, 2008 How would i show certian things to a user depending on what page theyve just come from. So for example i have a single page and if they come from page1.php it executes some code if not, it will execute some other code. how can u distinguish which page the person has come from. Link to comment https://forums.phpfreaks.com/topic/99843-help/ Share on other sites More sharing options...
trq Posted April 6, 2008 Share Posted April 6, 2008 $_SERVER['HTTP_REFERER'] will get you the refering page. Link to comment https://forums.phpfreaks.com/topic/99843-help/#findComment-510634 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.