> For all those who don't know my question from yesterday, I 
 > have a form where I can upload up to 9 files at a time. 
 > Unfortunately, only the first 5 of those files are being 
 > uploaded at any given time.

I haven't specifically checked your program logic but I believe that
this is where your problem is.  I created a similar php script using
your included sample as a base and it quite happily reports a file
uploaded for each of the nine form elements.

-----8<-----Working Code-----8<-----
<title>File Loop Test</title>

if (isset($submit) && !empty($submit))
  for ($i = 0; $i < sizeof($upfile); $i++)
    echo "File $i: ";
    echo "<br>";

<form enctype="multipart/form-data" method="post" name="slAdd"
<input type="hidden" name="MAX_FILE_SIZE" value="10000000">
<input type=submit name="submit" value="Add">



<table width="70%">
  <td><input type="file" name="upfile[0]"></td>
  <td><input type="file" name="upfile[1]"></td>
  <td><input type="file" name="upfile[2]"></td>
  <td><input type="file" name="upfile[3]"></td>
  <td><input type="file" name="upfile[4]"></td>
  <td><input type="file" name="upfile[5]"></td>
  <td><input type="file" name="upfile[6]"></td>
  <td><input type="file" name="upfile[7]"></td>
  <td><input type="file" name="upfile[8]"></td>
-----8<-----Code Snip Ends-----8<-----

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to