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 Quote Link to comment 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... Quote Link to comment 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.