Re: PHP 4.0 Bug #6124: Transparent SID adds to the form action, instead of adding a hidden field

From: Date: Sat, 12 Aug 2000 14:39:06 +0000
Subject: Re: PHP 4.0 Bug #6124: Transparent SID adds to the form action, instead of adding a hidden field
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-28686@lists.php.net to get a copy of this message
> On Fri, Aug 11, 2000 at 10:56:43PM -0700, Rasmus Lerdorf wrote: > > The CGI spec has nothing to do with PHP though. There is nothing CGI > > about PHP, and the HTTP spec certainly does not make any such statements. > > True.. until PHP starts modifying <form>s. (Isn't the CGI spec part of the > http spec, or am I on crack? Never the less, we're nitpicking.) > > I submitted the bug report because netscape 4.x doesn't even like: > > <form action="submit.cgi?varA=1" method=get> > <input type="hidden" name="varB" value="2"> > </form> > > It only submits one variable.. varB=2. I don't blame it.. I wouldn't expect > anyone to do this! Well, Netscape 4.x is quite happy to do: <form action="submit.cgi?varA=1" method="POST"> <input type="hidden" name="varB" value="2"> </form> Which I have actually used quite a bit. -Rasmus

« previous php.dev (#28686) next »