Fwd: Back button in PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---------- Forwarded message ----------
From: Martin Alsinet <malsinet.listas@xxxxxxxxx>
Date: 02-Feb-2007 00:20
Subject: Re:  Back button in PHP
To: Alf Stockton <alf@xxxxxxxxxxxxxx>


Hi Alf

On 01/02/07, Alf Stockton <alf@xxxxxxxxxxxxxx> 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

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux