Fwd: [PHP-WIN] Back button in PHP
| From: | Martin Alsinet | Date: | Fri, 02 Feb 2007 03:20:48 +0000 |
| Subject: | Fwd: [PHP-WIN] Back button in PHP | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27433@lists.php.net to get a copy of this message | ||
---------- Forwarded message ----------
From: Martin Alsinet <malsinet.listas@gmail.com>
Date: 02-Feb-2007 00:20
Subject: Re: [PHP-WIN] Back button in PHP
To: Alf Stockton <alf@stockton.co.za>
Hi Alf
On 01/02/07, Alf Stockton <alf@stockton.co.za> wrote:
I seem to remember that there was a simple call to get reference to the the screen previous to where the client currently is. Please remind me how this is done?You can do it with: <A HREF="javascript:history.go(-1)">Go back</A> watch out for the HTTP_REFERER way, because some versions of Internet Explorer do not set it, so you cant rely on it. Check this Google search about it: http://tinyurl.com/2y4egb Martin