Hi,
I have a php app that needs to upload multilple files.
The user uses an HTML File Input to browse for the file and select it, but instead of uploading right away, I need to store it in a multiple select. Once all the files have been added to the multiple select, the user clicks "upload" and all the files are uploaded to the server. The only problem I am having is how to upload the files in the multiple select. I can get the file names there, but they are not uploading.
Any help, or requests for more info on the problem?
PHP multiple file upload
Moderator: General Moderators
Re: PHP multiple file upload
As far as I'm aware, each file needs a file input to get uploaded.
So, if you want to list the files selected by the user to upload, you would need to hide the current file input and generate a new one in its place. You would then just add the file's name to the select input. That would be best done via javascript I would think.
So, if you want to list the files selected by the user to upload, you would need to hide the current file input and generate a new one in its place. You would then just add the file's name to the select input. That would be best done via javascript I would think.