Bug #18444 Updated: arrays sent by html form, the count is duplicate

From: Date: Sat, 20 Jul 2002 16:22:12 +0000
Subject: Bug #18444 Updated: arrays sent by html form, the count is duplicate
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14698@lists.php.net to get a copy of this message
ID: 18444 Updated by: sniper@php.net Reported By: youngga@hotmail.com -Status: Open +Status: Bogus Bug Type: Arrays related Operating System: linux PHP Version: 4.2.1 New Comment: In PHP 4.2.0, the 'register_globals' setting default changed to be off. See http://www.php.net/release_4_2_0.php for more info. We are sorry about the inconvenience, but this change was a necessary part of our efforts to make PHP scripting more secure and portable. Previous Comments: ------------------------------------------------------------------------ [2002-07-19 23:24:37] youngga@hotmail.com sorry, my english. When I send array with http form, the count of array is duplicate at server page. //My source at http form..... <select name='my_val[]' size='3' onfocus='set_check()' multiple> <option value=' 1'>val1</option> <option value=' 2'>val2</option> <option value=' 3'>val3</option> </select> //My source at server page... count(my_val); // the count value is different from I selected. So I have tested on PHP4.1.2 then no troubles. What is the problem ? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18444&edit=1

« previous php.bugs (#14698) next »