Re: Equivalent of Back Button

From: Date: Thu, 08 Jun 2000 17:44:59 +0000
Subject: Re: Equivalent of Back Button
Groups: php.general 
Request: Send a blank email to php-general+get-1315@lists.php.net to get a copy of this message
What about something like: <HTML> <SCRIPT LANGUAGE="JavaScript"> history.go(-1); </SCRIPT> </HTML> Or something really close to that... In article <393FECAC.80B85913@sei.cmu.edu>, Nelson Weiderman <nhw@sei.cmu.edu> wrote: >I'd like to create a page that immediately goes back to the >previous page, saving its state (equivalent to pushing the >back button on the bowser). The following almost does what >I want, but doesn't save the state: > echo "<html><head><title>Admin Referer</title><META >HTTP-EQUIV="refresh" CONTENT="0; url=" . $HTTP_REFERER . >""></head>"; >How do I do it?

« previous php.general (#1315) next »