samir_gambler Posted November 25, 2013 Share Posted November 25, 2013 Hello,Is it possible to know from which page I was redirected to current page. Say in a.php there is a link to b.php and when b.php is loaded can I decide whether I was called from a.php or not.Thanks & Regards,Samir Link to comment https://forums.phpfreaks.com/topic/284243-how-to-find-from-which-page-i-was-redirected-to-current-page/ Share on other sites More sharing options...
requinix Posted November 25, 2013 Share Posted November 25, 2013 $_SERVER["HTTP_REFERER"], but know that it is not reliable: might not be there, might not have the correct value, might not even be a URL at all... Link to comment https://forums.phpfreaks.com/topic/284243-how-to-find-from-which-page-i-was-redirected-to-current-page/#findComment-1459927 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.