How to only upload images ( .png
and .jpeg
)? Do not allow the choice of another file type.
I'm using as below:
<input type="file" name="arquivos" class="btn btn-success" multiple/>
At the time of selecting the photos I do not want to allow the choice of other types of files.