I wonder if it is possible to load files, folders and subfolders using PHP? I know that in Java it is possible to do this type of upload, but in php I could only upload multiple files.
I wonder if it is possible to load files, folders and subfolders using PHP? I know that in Java it is possible to do this type of upload, but in php I could only upload multiple files.
Using the webkitdirectory
or directory
attribute (in the same way that you use multiple
), you can add this functionality to your input file.
Exemplifying:
<input type="file" webkitdirectory directory multiple name="imagens[]" />
I saw this in this SOEN response: