I have experience doing this with single file uploads using <input type="file">
. However, I am having trouble doing uploading more than one at a time.
For example, I'd like to be able to select a series of images, then upload them to the server, all at once.
It would be great to use a single file input control, if possible.
Does anyone know how to accomplish this? Thanks!
This is possible in HTML5. Example (PHP 5.4):
Here's what it looks like in Chrome after selecting 2 items in the file dialog:
And here's what it looks like after clicking the "Upload" button.
This is just a sketch of a fully working answer. See PHP Manual: Handling file uploads for more information on proper, secure handling of file uploads in PHP.