Question about file uploads

I have a form which allows multiple uploads

The HTML is set up like

         <label class="col-sm-2 col-form-label">Images</label>
   	     <div class="col-md-10">
         <ul id="media-list" class="clearfix">
         <li class="myupload">
         <span><i class="fa fa-plus" aria-hidden="true"></i>
         <input type="file" id="picupload" class="picupload" click-type="type2" name="Images[]" accept="image/*" multiple />

I think the javascript lets you select one image after another…
In the action page I want to make sure all the uploads are being seen

echo '<pre>';
echo '</pre>';

the result…

(So I gather it sees all the images, but what is the deal with the png image?)
but here’s the result

According to the error on your screen shot and the explanation on the php website:

2 => ‘The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form’,

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.