note 20147 deleted from ref.http by sander
| From: | sander@php.net | Date: | Sun, 07 Apr 2002 12:39:54 +0000 |
| Subject: | note 20147 deleted from ref.http by sander | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-28896@lists.php.net to get a copy of this message | ||
Well , as I see it , the best way to go "Back" is the following :
$temp = getenv("HTTP_REFERER");
header("Location: $temp");
There is also another way , works only with IE6 and above :-) :
header("Location: javascript:back()");
Enjoy.