php3-list | 199901
Date: 01/05/99
- Next message: Raphael X. Steenbergen: "[PHP3] REMOVE"
- Previous message: Samuel Liddicott: "[PHP3] Country based on IP."
- Maybe in reply to: Patrick Kirchhoff: "[PHP3] "Back" - Function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> -----Original Message-----
> From: Brian Schaffner [mailto:BSchaffner <email protected>]
> Sent: 04 January 1999 22:32
> To: 'Patrick Kirchhoff'; php3 <email protected>
> Subject: RE: [PHP3] "Back" - Function
>
>
> <A HREF="javascript:history.back()">Back</A>
>
> -OR-
>
> <FORM ACTION="javascript:history.back()" METHOD="POST">
> <INPUT TYPE="SUBMIT" VALUE="Back">
> </FORM>
This second one is pretty good for a 1 level back, if you also do:
<FORM ACTION="javascript:history.back()" METHOD="POST">
<INPUT TYPE="SUBMIT" VALUE="Back">
<!-- tell the server what to send as the Location: tag, to send back yo -->
<INPUT TYPE=hidden Name=backto value="<%=$HTTP_REFERER;%>" >
</FORM>
1 level backs are good for error pages and other 1 page jumps out of
context.
Sam
-- 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>
- Next message: Raphael X. Steenbergen: "[PHP3] REMOVE"
- Previous message: Samuel Liddicott: "[PHP3] Country based on IP."
- Maybe in reply to: Patrick Kirchhoff: "[PHP3] "Back" - Function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

