July 17th, 2000, 05:57 PM
I'm wondering if there is a way to upload multiple files at the same time into a directory. Any help or ideas would be appreciated (and please be kind of descriptive, because I can be rather dense)
July 17th, 2000, 06:18 PM
You'll have to provide an upload box for each file.
<input type="file" name="myfile">
you name them all exactly the same, with the , that way you can referece them as an array on the php page that processes your form.
$copy_path = "/home/httpd/htdocs/images/". $myfile_name[$count];
I just wrote that code, didn't test it, but i've done things like this before. It also doesn't do any error checking and assumes all of the boxes will be filled in.