RE: [PHP] Codes in PHP
| From: | Johnson, Kirk | Date: | Thu, 20 Sep 2001 20:47:12 +0000 |
| Subject: | RE: [PHP] Codes in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68062@lists.php.net to get a copy of this message | ||
I only know of two ways to do page redirects with PHP: the header() function
and a META refresh tag. I suppose you could also use PHP to dynamically
generate the javascript code you included in your email. Good luck!
Kirk
> ----- Original Message -----
> From: "Wee Chua" <Chua@mail.interclean.com>
> To: "PHP (E-mail)" <php-general@lists.php.net>
> Sent: Thursday, September 20, 2001 12:49 PM
> Subject: [PHP] Codes in PHP
>
>
> > 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.