ID: 21465 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Linux RedHat 7.3 (kernel 2420) PHP Version: 4.3.0 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Use $_FILES & $_POST superglobals to access the data. Previous Comments: ------------------------------------------------------------------------ [2003-01-06 10:49:37] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=21465&edit=1
