note 20147 added to ref.http
| From: | shob at netvision dot net dot il | Date: | Sun, 24 Mar 2002 16:16:53 +0000 |
| Subject: | note 20147 added to ref.http | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28143@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.
--
http://www.php.net/manual/en/ref.http.php
http://master.php.net/manage/user-notes.php?action=edit+20147
http://master.php.net/manage/user-notes.php?action=delete+20147
http://master.php.net/manage/user-notes.php?action=reject+20147