Yep,
I got this from somewhere.
Name your upload form fields uploadedfile[] and use this, it should work:
// count the number of files to upload
$num_files = count($uploadedfile);
// for the amount of files upload
for ($i = 0; $i < $num_files; $i++) {
copy($uploadedfile[$i],$uploadedfile_name[$i]);
}
HTH,
Jord