I have done this code for uploading files.
The script goes perfect for upload only one file.
I have added in the html multiple=true, but, how can I retrieve the list of files selected and then using them in $_FILES and then proceed to a right multiple upload?
I have also tried to retrieve the text within the ‘html file input’ through javascript but without success. I wanted to POST with the form that text and then work on it. Here the code I have tried:
The file upload field does not have an attribute ‘multiple’. If you want to upload more than one file at the same time, you’ll need to add more inputs:
thanks to all.
The idea of the user Immerse is to select one file each time and then upload them all. No that’s not a wanted behaviour.
Actually what the user SgtLegend says is what I want. I will read the document linked with attention
I use uploadify works really good you can add a function into the script to do whatever you need to do with the uploaded file http://www.uploadify.com/
You can do this, if you know your way around javascript you can set the uploadify settings on the fly by using a couple of different methods such as a drop down box or an alert box to change the upload path. I’m using uploadify in a commercial script im writing and it works great.
yes, I have done in this way with success, but without the function uploadifySettings because I don’t understand how to use it
although I have followed the example in the documentation http://www.uploadify.com/documentation/.
I think that it would be better to select the upload folder in client side and not in server side with form submission