bilis_money Posted August 2, 2006 Share Posted August 2, 2006 hi,Let say i have two pages, page1.php and page2.php.now i would like to open page1.php then page1.php consist of acodes that will redirect to page2.php,now what appropriate codes that will remember the previous page1.php and getit and display that previous page as hyperlink?thank you very much in advance. Quote Link to comment Share on other sites More sharing options...
mastermike707 Posted August 2, 2006 Share Posted August 2, 2006 Ok, what I think you want to know is what variable is the refering url:[code=php:0]$_SERVER["REFERER"][/code] Quote Link to comment Share on other sites More sharing options...
ronverdonk Posted August 2, 2006 Share Posted August 2, 2006 Caution! The $_SERVER["REFERER"] is not always set on some systems! Ronald ;D 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.