Sorry if this seems like a stupid question, but...
The script I am currently using puts a number of input type=file boxes on the page, and then loops through and processes each uploaded file. It works perfectly.
However, each time I want to upload many files, I need to manually click Browse and select each file. This is annoying. I'm trying to find some way of using php to automatically upload the same set of files each time (as often as I want). Is it possible to somehow store the filenames (which never change) in an array and just get the loop to get the files from the array?
Or does file upload, by definition, need to have the upload/browse box? (which would mean I'm stuck doing it manually)
Any answers appreciated...
The script I am currently using puts a number of input type=file boxes on the page, and then loops through and processes each uploaded file. It works perfectly.
However, each time I want to upload many files, I need to manually click Browse and select each file. This is annoying. I'm trying to find some way of using php to automatically upload the same set of files each time (as often as I want). Is it possible to somehow store the filenames (which never change) in an array and just get the loop to get the files from the array?
Or does file upload, by definition, need to have the upload/browse box? (which would mean I'm stuck doing it manually)
Any answers appreciated...
Comment