How do you loop through $_FILES array?
Your example form should work fine. It’s just that you are expecting the structure of the $_FILES superglobal to be different than it actually is, when using an array structure for the field names. The structure of this multidimensional array is as followed then: $_FILES[fieldname] => array( [name] => array( /* these arrays are the … Read more