Re: Codes in PHP

From: Date: Thu, 20 Sep 2001 21:37:17 +0000
Subject: Re: Codes in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68073@lists.php.net to get a copy of this message
On Thu, 20 Sep 2001 15:49:25 -0400, Wee Chua wrote: >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 > you could do: header("Location: $HTTP_REFERER");

« previous php.general (#68073) next »