|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-01-06 21:57 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 22:00:01 2025 UTC |
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.