Re: #19848 [Ctl->Csd]: Wrong $_REQUEST values ($_FILES appearance is wacky)

From: Date: Mon, 28 Oct 2002 04:30:41 +0000
Subject: Re: #19848 [Ctl->Csd]: Wrong $_REQUEST values ($_FILES appearance is wacky)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-90166@lists.php.net to get a copy of this message
On Mon, 2002-10-28 at 03:51, Philip Olson wrote: > > This change will make it into 4.3.0 right? Also, > is import_request_variables() affected? > i don't know about 4.3, not really my area... as for import_request_variables, I haven't modified that, simply because i'm not sure whether it should be modified... For now I'll leave it, if someone feels strongly about it either way, they can change it... -Sterling > Regards, > Philip > > > On 28 Oct 2002 sterling@php.net wrote: > > > ID: 19848 > > Updated by: sterling@php.net > > Reported By: capelli@in2p3.fr > > -Status: Critical > > +Status: Closed > > Bug Type: HTTP related > > Operating System: *any > > PHP Version: 4.2.3,4,3.0-dev > > Assigned To: sterling > > New Comment: > > > > Fixed in CVS... $_FILES is no longer present in $_REQUEST... > > > > > > Previous Comments: > > ------------------------------------------------------------------------ > > > > [2002-10-24 18:42:14] mzeitler@accrisoft.com > > > > This test form strips 3 characters from the posted variable: > > > > <FORM METHOD=POST ACTION=""> > > <INPUT TYPE="text" name="foo[a]" > > VALUE="<?=$foo['a']?>"> > > <INPUT TYPE="submit"> > > </FORM> > > > > 2 dimensional array - this test form strips 8 characters from the > > posted variable: > > > > <FORM METHOD=POST ACTION=""> > > <INPUT TYPE="text" name="foo[a][b]" > > VALUE="<?=$foo['a']['b']?>"> > > <INPUT TYPE="submit"> > > </FORM> > > > > For every dimension added to the array, another 4 characters are > > scripted from the beginning of the posted variable. Works on PHP > > version less than 4.2.2 and earlier. > > > > ------------------------------------------------------------------------ > > > > [2002-10-20 22:17:12] sniper@php.net > > > > The 'voting' on php-dev was in favour for removing the $_FILES from > > $_REQUEST..as it doesn't make much sense > > to have them there. Just FYI. :) > > > > --Jani > > > > > > ------------------------------------------------------------------------ > > > > [2002-10-20 22:14:01] imajes@php.net > > > > Sterling Hughes is working on this issue, according to posts to > > php-dev. > > > > > > ------------------------------------------------------------------------ > > > > [2002-10-16 06:29:23] ferdhie2k@yahoo.com > > > > Also got the same cases. > > <form method="post" action="test.php"> > > <input type="checkbox" name="server[]" value="ASP"> > > <input type="checkbox" name="server[]" value="C"> > > <input type="checkbox" name="server[]" > > value="COLDFUSION"> > > <input type="checkbox" name="server[]" value="JAVA"> > > <input type="checkbox" name="server[]" value="PERL"> > > <input type="checkbox" name="server[]" value="PHP"> > > </form> > > > > print_r($_POST['server']); > > > > it comes out: > > --------------- > > Array > > ( > > [0] => ASP > > [1] => C# > > [2] => FUSION > > [3] => > > [4] => > > [5] => PHP > > ) > > > > Apache/1.3.26, Win98 > > > > ------------------------------------------------------------------------ > > > > [2002-10-15 15:21:27] ich@ersiees.com > > > > BTW, 17958 is "no feedback". > > Well, that's pretty untrue ... > > > > ------------------------------------------------------------------------ > > > > The remainder of the comments for this report are too long. To view > > the rest of the comments, please view the bug report online at > > http://bugs.php.net/19848 > > > > -- > > Edit this bug report at http://bugs.php.net/?id=19848&edit=1 > > > > > -- Sterling Hughes <sterling@bumblebury.com> Did I help you? Consider a gift: http://wishlist.edwardbear.org/

« previous php.dev (#90166) next »