|All requests||>||Upload multiple images path||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Hardy man - 7 years ago (2015-11-16)
I can't move multiple images in the given folder and not been able to store their path as well, only one at a time.
3. by Ettore Moretti - 7 years ago (2015-12-14) Reply
In HTML5 you can use the "multiple" attribute in the tag input type = "file".
<form action = "upload.php" method = "post" enctype = "multipart / form-data"> <input type = "file" name = "files " multiple /> <input type = "submit" value = "Upload" /> </ form>
In upload.php you can recover data files with the global variable $_FILES.
Being a HTML5 features, you will need to deal with the compatibility of different browsers:
Chrome 6.0 or higher Explorer 10.0 or higher Firefox 3.6 or higher Safari 5.0 or higher Opera 5.0 or higher
1. by Dave Smith - 7 years ago (2015-11-16) Reply
2. by Dave Smith - 7 years ago (2015-11-16) Reply
by MOUSTAFA ELGAMMAL 185 - 7 years ago (2016-02-29) Comment
This class can validate and process one or more file uploads.
There is one class that can validate and process individual file uploads. It checks if the file name extension and MIME type is one of the allowed, as well if the file size is below the allowed size limit.
The class can create the destination directory if it does not exists and move the uploaded file to that directory.
Another class calls the first to validate and process multiple files being uploaded.
by Bharat Parmar 410 - 7 years ago (2015-12-12) Comment
Hello You can use this class where you will find UploadFile() method which allow you to upload multiple files with single input file element.
To allow multiple file in input, you will have to add "multiple" attributes in the element.
1. by Dave Smith - 7 years ago (2015-12-13) Reply
Will require a HTML 5 compliant browser. I never knew they added multiple file support in the HTML 5 specs, you learn something new every day.