Summing up (was PHP 4.0 Bug #6124: Transparent SID adds to the form action, instead of adding a hidden field)

From: Date: Sat, 12 Aug 2000 19:44:03 +0000
Subject: Summing up (was PHP 4.0 Bug #6124: Transparent SID adds to the form action, instead of adding a hidden field)
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-28716@lists.php.net to get a copy of this message
So.. to sum up: A) <form action="url?extradata=yup" method=post> is legal, but ill supported by CGI programs, and <form action="url?extradata=yup" method=get> is legal, but not supported at all by netscape 4.x. B) <form . . . . ><input type=hidden name="extradata" value="yup"> ... more form</form> will break Javascript that accesses the form fields, but is well supported by CGI programs, and older browsers alike. C) <form . . . . >...form stuff<input type=hidden name="extradata" value="yup"></form> won't break 99.5% of javascript code.. and is well supported by all browsers, and all cgi programs. Option C) seems like the best solution to me. Geoff ps. to whomever rewrote the url_scanner.c: that is *beautiful*. I never thought I'd see finite state stuff outside of class.

« previous php.dev (#28716) next »