Ok, I figured out part of it but this is what the deal is.
I changed the following lines to add my users name to the file name
FROM:
$newfile = $file_dir.$FILES['myfiles']['name'][$i];
print("$newfile");
move_uploaded_file($FILES['myfiles']['tmp_name'][
TO:
$newfile = $file_dir.$session[USERNAME].$FILES['myfiles']['name'][$i];
print("$newfile");
move_uploaded_file($session[USERNAME].$FILES['myfiles']['tmp_name'][
the file will not upload to my folder of choice with the $session[USERNAME] variable in there. It works with out..
Now what??
MIke