#20085 [Opn]: HTML Array variables are not working properly

From: Date: Fri, 25 Oct 2002 14:36:03 +0000
Subject: #20085 [Opn]: HTML Array variables are not working properly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-23308@lists.php.net to get a copy of this message
ID: 20085 User updated by: natz@idecnet.com Reported By: natz@idecnet.com Status: Open Bug Type: *General Issues Operating System: Linux (¿any?) PHP Version: 4.2.3 New Comment: excuse me.. http://www.cegara.com/prueba.php Previous Comments: ------------------------------------------------------------------------ [2002-10-25 09:35:01] natz@idecnet.com Try it online at http://www.cegara.com/pruebas.php Its an apache 1.3.37 on linux. The programs using this feature have worked flawlessly since PHP3.0.2, and suddenly broke down yesterday after the PHP4.2.2-PHP4.2.3 upgrade. ------------------------------------------------------------------------ [2002-10-25 09:31:14] natz@idecnet.com <form method=post action=myself.php> <input type="text" name="myTest[]"> <input type="text" name="myTest[]"> </form> <? echo "myTest[0] ->".$myTest[0]."<BR>\n"; echo "myTest[1] ->".$myTest[1]."<BR>\n"; ?> Try run the simple script, and you'll see. The array myTest contains parts of the values of the input fields, but not the complete values. Usually works once you type numbers as input. Weird. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20085&edit=1

« previous php.bugs (#23308) next »