title: Files > 4 are not being uploaded [PHP]
body: <p>So, just as I was about to launch the site. I've encountered a pretty big bug...
  I'm trying to let the user upload files (images) but I've found out that you can't upload more than <strong>4 files</strong>. So, I took the code apart and simplified it. A simple print statement shows the total files uploaded (array elements). And guess what ? It only goes up to 3. After this, the print statement isn't even executed as the <code>isset($_FILES['files'])</code> turns out to be <strong>FALSE!</strong></p>
  
  <p>Here's the <strong>form</strong> which I'm using : </p>
  
  <pre><code>&lt;form method="post" action="submit.php" enctype="multipart/form-data"&gt;
    &lt;input type="file" name='files[]' multiple='multiple'&gt;
    &lt;input type="submit" name="submit" value="Upload"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Here's the <strong>PHP script</strong> that handles the upload :</p>
  
  <pre><code>if(isset($_FILES['files'])) {
      foreach ($_FILES['files']['name'] as $key =&gt; $name) {
          print $key;
  
          //the uploading process...
      }
  }
  </code></pre>
  
  <p>This only prints <code>$key</code> upto 3. (0,1,2,3). So that means that files more than 4 aren't even uploaded. Any ideas ?</p>