#22626 [NEW]: POST'ing an Array (<input name="checkbox[70]">) gives string 'Array'
From: cyborg at driverheaven dot net
Operating system: Windows 2003 Server
PHP version: 5CVS-2003-03-10 (dev)
PHP Bug Type: Unknown/Other Function
Bug description: POST'ing an Array (<input name="checkbox[70]">) gives string
'Array'
when posting information through a form, using an array for a name,
example:
4 inputs: <input name="checkbox[70]" type="checkbox" />
(where 70 is different for each input, according to the messageid)
PHP gives the value 'Array' for $_POST['checkbox'], and it is a string, as
print_r() displays 'Array', and is_array() returns false on check.
--
Edit bug report at http://bugs.php.net/?id=22626&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22626&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22626&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22626&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22626&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22626&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22626&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22626&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22626&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22626&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22626&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22626&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22626&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22626&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22626&r=gnused
Thread (6 messages)
- cyborg at driverheaven dot net