title: Multiple file upload field option not uploading all the files
body: <p>I am working with the input <code>type="file" multiple="multiple"</code> and a PHP upload loop.</p>
  
  <pre><code>&lt;input name="data[]" id="file" type="file" multiple="multiple" class="txtinput2" /&gt;
  </code></pre>
  
  <p>Above is my HTML, below is my PHP:</p>
  
  <pre><code>if(isset($_POST['action'])=='uploadfiles'){
  $count_data=count($_FILES['data']) ;   ######### count the data #####
  
  for($x=0;$x&lt;$count_data;$x++)
  </code></pre>
  
  <p>When I echo <code>count_data</code> it gives me an output of <strong>5</strong>, but when I select <strong>28</strong> files it says <strong>28</strong> files chosen in the input field. Does the <code>multiple="multiple"</code> only support <strong>5</strong> uploads?</p>
  
  <p>I checked the PHP info and it says max file uploads <strong>20</strong>, max post size <strong>8m</strong> and max file size <strong>128m</strong> and the total size of all the files I am trying to upload is of <strong>1.94 megs</strong>.</p>
  
  <pre><code>Array ( [name] =&gt; Array ( [0] =&gt; DSCF0960.jpg [1] =&gt; DSCF0961.jpg [2] =&gt; DSCF0963.jpg [3] =&gt; DSCF0964.jpg [4] =&gt; DSCF0966.jpg [5] =&gt; DSCF0967.jpg [6] =&gt; DSCF0968.jpg [7] =&gt; DSCF0969.jpg [8] =&gt; DSCF0970.jpg [9] =&gt; DSCF0971.jpg [10] =&gt; DSCF0972.jpg [11] =&gt; DSCF0973.jpg [12] =&gt; DSCF0974.jpg [13] =&gt; DSCF0975.jpg [14] =&gt; DSCF0976.jpg [15] =&gt; DSCF0977.jpg [16] =&gt; DSCF0978.jpg [17] =&gt; DSCF0979.jpg [18] =&gt; DSCF0980.jpg [19] =&gt; DSCF0981.jpg ) [type] =&gt; Array ( [0] =&gt; image/jpeg [1] =&gt; image/jpeg [2] =&gt; image/jpeg [3] =&gt; image/jpeg [4] =&gt; image/jpeg [5] =&gt; image/jpeg [6] =&gt; image/jpeg [7] =&gt; image/jpeg [8] =&gt; image/jpeg [9] =&gt; image/jpeg [10] =&gt; image/jpeg [11] =&gt; image/jpeg [12] =&gt; image/jpeg [13] =&gt; image/jpeg [14] =&gt; image/jpeg [15] =&gt; image/jpeg [16] =&gt; image/jpeg [17] =&gt; image/jpeg [18] =&gt; image/jpeg [19] =&gt; image/jpeg ) [tmp_name] =&gt; Array ( [0] =&gt; /tmp/php4uI9g8 [1] =&gt; /tmp/phpVx5WrZ [2] =&gt; /tmp/php2DbRCQ [3] =&gt; /tmp/phpT2gSNH [4] =&gt; /tmp/phpPDlZYy [5] =&gt; /tmp/phpMzCcaq [6] =&gt; /tmp/phpRxkwlh [7] =&gt; /tmp/phpgoRWw8 [8] =&gt; /tmp/phpYlGsIZ [9] =&gt; /tmp/phpYBG1TQ [10] =&gt; /tmp/phpTQBD5H [11] =&gt; /tmp/phpQesphz [12] =&gt; /tmp/php5U4dtq [13] =&gt; /tmp/phpp2G5Eh [14] =&gt; /tmp/phpwaZZQ8 [15] =&gt; /tmp/php4W0W2Z [16] =&gt; /tmp/php7g3WeR [17] =&gt; /tmp/phpeZj0qI [18] =&gt; /tmp/phpAGo6Cz [19] =&gt; /tmp/phpbXlfPq ) [error] =&gt; Array ( [0] =&gt; 0 [1] =&gt; 0 [2] =&gt; 0 [3] =&gt; 0 [4] =&gt; 0 [5] =&gt; 0 [6] =&gt; 0 [7] =&gt; 0 [8] =&gt; 0 [9] =&gt; 0 [10] =&gt; 0 [11] =&gt; 0 [12] =&gt; 0 [13] =&gt; 0 [14] =&gt; 0 [15] =&gt; 0 [16] =&gt; 0 [17] =&gt; 0 [18] =&gt; 0 [19] =&gt; 0 ) [size] =&gt; Array ( [0] =&gt; 79605 [1] =&gt; 75839 [2] =&gt; 71245 [3] =&gt; 63228 [4] =&gt; 64201 [5] =&gt; 74440 [6] =&gt; 75350 [7] =&gt; 73367 [8] =&gt; 72491 [9] =&gt; 69725 [10] =&gt; 75508 [11] =&gt; 72755 [12] =&gt; 76076 [13] =&gt; 72140 [14] =&gt; 68745 [15] =&gt; 77859 [16] =&gt; 74281 [17] =&gt; 74613 [18] =&gt; 71702 [19] =&gt; 75916 ) ) 
  </code></pre>