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 17:47:43 +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-28704@lists.php.net to get a copy of this message
GO>> Does no one else see my point? REQUEST_METHOD tells you which GO>> way data's coming at you (get, post, or the other one..) so to GO>> me it's a pretty strong indication that you're only supposed to GO>> use one method at a time. Putting in a hidden field is an Huh? How HTTP method suggests to you that you should suddently drop pats of URL? You can say: "Oh, I know most users don't do it, so I won't implement it because that's too hard to do" (even though I don't see what's hard in looking into QUERY_STRING even if the methos is POST), but don't say: "I don't do it because standard says so". Standard doesn't. GO>> elegant solution that will work in *all* cases.. so why the GO>> fuss? No, putting in form fields is going to bring you other problems. Just think about some Javascript looking for form fields and suddently discovering some field it never knew of... -- Stanislav Malyshev stas@zend.com +972-3-6139665 ext.106

« previous php.dev (#28704) next »