|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-30 13:20 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 00:00:01 2025 UTC |
if you use a mutliple uploads form (say 3 uploads) and you wil only fill in upload2 in the browser the arrays *, *_name and *_size has 3 items and *_type will have one : var_dumps after doing the above: // * array(3) { [0]=> string(4) "none" [1]=> string(14) "/tmp/phpCiTyX5" [2]=> string(4) "none" } // *_name array(3) { [0]=> string(0) "" [1]=> string(10) "Status.htm" [2]=> string(0) "" } // *_size array(3) { [0]=> int(0) [1]=> int(1845) [2]=> int(0) } // *_type array(1) { [0]=> string(9) "text/html" } this should be: // *_size array(3) { [0]=> string(0) "" [1]=> string(9) "text/html" [2]=> string(0) "" } Greetz, Wico