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>
source share