Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

Re: [PHP3] "Back" - Function From: Colin Viebrock (cmv <email protected>)
Date: 01/04/99

>
> User goes on Webpage 1, follows a link to page two and then two page three.
>
> He clicks the "Back" link and comes to page two (<a
> href=<?echo"$HTTP_REFERER;"?>)!
> Now he is back one page two and decides to click the back button again to
> visit
> page one again. But now of course he comes back to page three.

Have you actually tried this?

If I go to page 1, then 2, then 3, then hit my browser's "Back" button twice, I end up on page
1 again.

And if you want a button on the page that does it:

<A HREF="javascript:history.go(-1)">back</A>

- colin

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev <email protected>