Re: Php Codes needed
| From: | Richard Lynch | Date: | Sat, 22 Sep 2001 03:19:55 +0000 |
| Subject: | Re: Php Codes needed | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68295@lists.php.net to get a copy of this message | ||
Try:
header("Location: $HTTP_REFERER);
I guess...
But you may need to pass along whatever data you want to keep, or use
sessions so there's only a SESSION_ID to pass along.
http://php.net/session_start
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Wee Chua <Chua@mail.interclean.com>
Newsgroups: php.db,php.general
To: PHP (E-mail) <php-general@lists.php.net>; Php3 (E-mail)
<php3@lists.php.net>; Php-Db (E-mail) <php-db@lists.php.net>; Php-Db-Help
(E-mail) <php-db-help@lists.php.net>
Sent: Thursday, September 20, 2001 2:39 PM
Subject: Php Codes needed
> Hi all,
> I know how to forward a page with PHP, but what if the page I want to
> forward is the previous page or last page. In javascript, the code is like
> javascript:historygo(-1). The reason why I want to go back to previous
page
> is because I don't want to lose any information on previous page. Can
anyone
> help? Thank you.
>
> Calvin Chua