From: [EMAIL PROTECTED]
Operating system: Linux RedHat 7.3 (kernel 2420)
PHP version: 4.3.0
PHP Bug Type: *General Issues
Bug description: multipart/form-data forms post problems
Hi,
when I use form varibles, named, as associative array (see an example) and
form have attribute multipart/form-data, after posting, first element of
posted array are lost, in some cases.
Example:
---------------------------------------------------------
<form name="article" method="POST" action="save_article"
enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="10000000">
<input type="file" name="img[name]" value="./myfile.jpg">
<input type="hidden" name="img[koeff]" value="1.45">
<input type="hidden" name="img[min_width]" value="220">
----------------------------------------------------------
After posting printr($img) give:
Array
(
[koeff] => 1.45
[min_width] => 220
)
Thank you for support.
Ivaschenko Yuriy.
--
Edit bug report at http://bugs.php.net/?id=21465&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21465&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21465&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21465&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21465&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21465&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21465&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21465&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21465&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21465&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21465&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21465&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21465&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21465&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21465&r=gnused