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

From: Date: Sat, 20 Jul 2002 03:24:40 +0000
Subject: Bug #18444: arrays sent by html form, the count is duplicate
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14674@lists.php.net to get a copy of this message
From: youngga@hotmail.com Operating system: linux PHP version: 4.2.1 PHP Bug Type: Arrays related Bug description: arrays sent by html form, the count is duplicate 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 bug report at http://bugs.php.net/?id=18444&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18444&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18444&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18444&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18444&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18444&r=support Expected behavior: http://bugs.php.net/fix.php?id=18444&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18444&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18444&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18444&r=globals

« previous php.bugs (#14674) next »