Re: GET method and forms....
| From: | Egan | Date: | Thu, 23 Aug 2001 03:54:31 +0000 |
| Subject: | Re: GET method and forms.... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64040@lists.php.net to get a copy of this message | ||
On Thu, 23 Aug 2001 03:23:16 +0100, "Seb Frost" <seb@raceshoot.com>
wrote:
>> how do I prevent getting &submit=shop%21 in the url window?
> reason to use get, I want variables to become part of the url.
Using a frameset prevents the GET url from appearing in the browser
window, if that's all you want to achieve -- and you don't need lynx
compatibility.
Here's a dummy frameset that should get you started. Just put it in a
file by itself, perhaps named "myscript.html"
Also notice the second frame uses "myscript.php" as its source:
<HTML><HEAD><TITLE></TITLE></HEAD>
<FRAMESET COLS="0,*" BORDER="0" FRAMEBORDER="no">
<FRAME NAME="fm0" MARGINHEIGHT="0" MARGINWIDTH="0"
SCROLLING="no"
NORESIZE="NORESIZE">
<FRAME NAME="fm1" MARGINHEIGHT="0" MARGINWIDTH="0"
SCROLLING="yes"
SRC="myscript.php">
<NOFRAMES><BODY>
<P>This document requires frames.</P></BODY>
</NOFRAMES>
</FRAMESET></HTML>