Non Data Form PHP

I work with a small management application, and it requires that we can upload images that are trademarks, but, in short, I have problems getting data to process it, after some debugging, which I found out that the form does not transmit any either data to the $_FILES , and I can’t understand why. This is the corresponding form code:

 <form action="/contracts/entity/save_entity/trademark" method="post" enctype="multipart/form-data" id="manage-entity-form" > <input type="hidden" id="MAX_FILE_SIZE" name="MAX_FILE_SIZE" value="102400000" /> <label for="file" class=""> <span class="ui-button-text">Image</span> </label> <input type="file" id="file" class="ui-state-active" name="data[Upload][]" /> </form> 
+4
source share
1 answer

Encoding multipart / form-data does not support multidimensional arrays - see this topic: How to upload files (multipart / form-data) using multidimensional POSTFIELDS using PHP and CURL?

+2
source

All Articles