I want my client to be able to select up to 10 files then choose what folder it goes it which is populated through my database. Then upload the folders to that file. Here are the two files I have.

photo_uploader.php
HTML Code:
<form action="multiple_upload_ac.php" method="post" enctype="multipart/form-data" name="form1" id="form1">
<td>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td><strong>multiple Files Upload </strong></td>
</tr>
<tr>
<td>Select file
<input name="ufile[]" type="file" id="ufile[]" size="50" /></td>
</tr>
<tr>
<td>Select file
<input name="ufile[]" type="file" id="ufile[]" size="50" /></td>
</tr>
<tr>
<td>Select file
<input name="ufile[]" type="file" id="ufile[]" size="50" /></td>
</tr>
<tr>
<td><p>Select file
    <input name="ufile[]" type="file" id="ufile[]" size="50" />
</p></td>
</tr>
<tr>
  <td>Select file
    <input name="ufile[]" type="file" id="ufile[]" size="50" /></td>
</tr>
<tr>
  <td>Select file
    <input name="ufile[]" type="file" id="ufile[]" size="50" /></td>
</tr>
<tr>
  <td>Select file
    <input name="ufile[]" type="file" id="ufile[]" size="50" /></td>
</tr>
<tr>
  <td>Select file
    <input name="ufile[]" type="file" id="ufile[]" size="50" /></td>
</tr>
<tr>
  <td>Select file
    <input name="ufile[]" type="file" id="ufile[]" size="50" /></td>
</tr>
<tr>
  <td>Select file
    <input name="ufile[]" type="file" id="ufile[]" size="50" /></td>
</tr>
<tr>
  <td align="center"><p><br>
    <SELECT NAME=thing>
<OPTION VALUE=0>Choose
<?=$options?>
</SELECT> </p>
    <p>
      <input type="submit" name="Submit" value="Upload" />
    </p></td>
</tr>
</table>
</td>
</form>

Then the
multiple_upload_ac.php

PHP Code:

<?php
//$HTTP_POST_FILES['ufile']['name']; = upload file name

$path1"upload/".$HTTP_POST_FILES['ufile']['name'][0]; [QUOTE]Is this where I would change it so instead of upload it would be $options[/QUOTE]
$path2"upload/".$HTTP_POST_FILES['ufile']['name'][1];
$path3"upload/".$HTTP_POST_FILES['ufile']['name'][2];
$path4"upload/".$HTTP_POST_FILES['ufile']['name'][3];
$path5"upload/".$HTTP_POST_FILES['ufile']['name'][4];
$path6"upload/".$HTTP_POST_FILES['ufile']['name'][5];
$path7"upload/".$HTTP_POST_FILES['ufile']['name'][6];
$path8"upload/".$HTTP_POST_FILES['ufile']['name'][7];
$path9"upload/".$HTTP_POST_FILES['ufile']['name'][8];
$path10"upload/".$HTTP_POST_FILES['ufile']['name'][9];
$path11"upload/".$HTTP_POST_FILES['ufile']['name'][10];

//copy file to where you want to store file
copy($HTTP_POST_FILES['ufile']['tmp_name'][0], $path1);
copy($HTTP_POST_FILES['ufile']['tmp_name'][1], $path2);
copy($HTTP_POST_FILES['ufile']['tmp_name'][2], $path3);
copy($HTTP_POST_FILES['ufile']['tmp_name'][3], $path4);
copy($HTTP_POST_FILES['ufile']['tmp_name'][4], $path5);
copy($HTTP_POST_FILES['ufile']['tmp_name'][5], $path6);
copy($HTTP_POST_FILES['ufile']['tmp_name'][6], $path7);
copy($HTTP_POST_FILES['ufile']['tmp_name'][7], $path8);
copy($HTTP_POST_FILES['ufile']['tmp_name'][8], $path9);
copy($HTTP_POST_FILES['ufile']['tmp_name'][9], $path10);

//$HTTP_POST_FILES['ufile']['name'] = file name
//$HTTP_POST_FILES['ufile']['size'] = file size
//$HTTP_POST_FILES['ufile']['type'] = type of file
echo "File Name :".$HTTP_POST_FILES['ufile']['name'][0]."<BR/>";
echo 
"File Size :".$HTTP_POST_FILES['ufile']['size'][0]."<BR/>";
echo 
"File Type :".$HTTP_POST_FILES['ufile']['type'][0]."<BR/>";
echo 
"<img src=\"$path1\" width=\"150\" height=\"150\">";
echo 
"<P>";

echo 
"File Name :".$HTTP_POST_FILES['ufile']['name'][1]."<BR/>";
echo 
"File Size :".$HTTP_POST_FILES['ufile']['size'][1]."<BR/>";
echo 
"File Type :".$HTTP_POST_FILES['ufile']['type'][1]."<BR/>";
echo 
"<img src=\"$path2\" width=\"150\" height=\"150\">";
echo 
"<P>";

echo 
"File Name :".$HTTP_POST_FILES['ufile']['name'][2]."<BR/>";
echo 
"File Size :".$HTTP_POST_FILES['ufile']['size'][2]."<BR/>";
echo 
"File Type :".$HTTP_POST_FILES['ufile']['type'][2]."<BR/>";
echo 
"<img src=\"$path3\" width=\"150\" height=\"150\">";

echo 
"File Name :".$HTTP_POST_FILES['ufile']['name'][3]."<BR/>";
echo 
"File Size :".$HTTP_POST_FILES['ufile']['size'][3]."<BR/>";
echo 
"File Type :".$HTTP_POST_FILES['ufile']['type'][3]."<BR/>";
echo 
"<img src=\"$path3\" width=\"150\" height=\"150\">";

echo 
"File Name :".$HTTP_POST_FILES['ufile']['name'][4]."<BR/>";
echo 
"File Size :".$HTTP_POST_FILES['ufile']['size'][4]."<BR/>";
echo 
"File Type :".$HTTP_POST_FILES['ufile']['type'][4]."<BR/>";
echo 
"<img src=\"$path3\" width=\"150\" height=\"150\">";

echo 
"File Name :".$HTTP_POST_FILES['ufile']['name'][5]."<BR/>";
echo 
"File Size :".$HTTP_POST_FILES['ufile']['size'][5]."<BR/>";
echo 
"File Type :".$HTTP_POST_FILES['ufile']['type'][5]."<BR/>";
echo 
"<img src=\"$path3\" width=\"150\" height=\"150\">";

echo 
"File Name :".$HTTP_POST_FILES['ufile']['name'][6]."<BR/>";
echo 
"File Size :".$HTTP_POST_FILES['ufile']['size'][6]."<BR/>";
echo 
"File Type :".$HTTP_POST_FILES['ufile']['type'][6]."<BR/>";
echo 
"<img src=\"$path3\" width=\"150\" height=\"150\">";

echo 
"File Name :".$HTTP_POST_FILES['ufile']['name'][7]."<BR/>";
echo 
"File Size :".$HTTP_POST_FILES['ufile']['size'][7]."<BR/>";
echo 
"File Type :".$HTTP_POST_FILES['ufile']['type'][7]."<BR/>";
echo 
"<img src=\"$path3\" width=\"150\" height=\"150\">";

echo 
"File Name :".$HTTP_POST_FILES['ufile']['name'][8]."<BR/>";
echo 
"File Size :".$HTTP_POST_FILES['ufile']['size'][8]."<BR/>";
echo 
"File Type :".$HTTP_POST_FILES['ufile']['type'][8]."<BR/>";
echo 
"<img src=\"$path3\" width=\"150\" height=\"150\">";

echo 
"File Name :".$HTTP_POST_FILES['ufile']['name'][9]."<BR/>";
echo 
"File Size :".$HTTP_POST_FILES['ufile']['size'][9]."<BR/>";
echo 
"File Type :".$HTTP_POST_FILES['ufile']['type'][9]."<BR/>";
echo 
"<img src=\"$path3\" width=\"150\" height=\"150\">";

///////////////////////////////////////////////////////

// Use this code to display the error or success.

$filesize1=$HTTP_POST_FILES['ufile']['size'][0];
$filesize2=$HTTP_POST_FILES['ufile']['size'][1];
$filesize3=$HTTP_POST_FILES['ufile']['size'][2];
$filesize4=$HTTP_POST_FILES['ufile']['size'][3];
$filesize5=$HTTP_POST_FILES['ufile']['size'][4];
$filesize6=$HTTP_POST_FILES['ufile']['size'][5];
$filesize7=$HTTP_POST_FILES['ufile']['size'][6];
$filesize8=$HTTP_POST_FILES['ufile']['size'][7];
$filesize9=$HTTP_POST_FILES['ufile']['size'][8];
$filesize10=$HTTP_POST_FILES['ufile']['size'][9];
$filesize11=$HTTP_POST_FILES['ufile']['size'][10];

if(
$filesize1 && $filesize2 && $filesize3 != 0)
{
echo 
"We have recieved your files";
}

else {
echo 
"ERROR.....";
}

//////////////////////////////////////////////

// What files that have a problem? (if found)

if($filesize1==0) {
echo 
"There're something error in your first file";
echo 
"<BR />";
}

if(
$filesize2==0) {
echo 
"There're something error in your second file";
echo 
"<BR />";
}

if(
$filesize3==0) {
echo 
"There're something error in your third file";
echo 
"<BR />";
}

if(
$filesize4==0) {
echo 
"There're something error in your fourth file";
echo 
"<BR />";
}

if(
$filesize5==0) {
echo 
"There're something error in your fifth file";
echo 
"<BR />";
}

if(
$filesize6==0) {
echo 
"There're something error in your six file";
echo 
"<BR />";
}

if(
$filesize7==0) {
echo 
"There're something error in your seventh file";
echo 
"<BR />";
}

if(
$filesize8==0) {
echo 
"There're something error in your eight file";
echo 
"<BR />";
}

if(
$filesize9==0) {
echo 
"There're something error in your ninth file";
echo 
"<BR />";
}

if(
$filesize10==0) {
echo 
"There're something error in your tenth file";
echo 
"<BR />";
}
?>

Thank you for any and all help.