Multiple Upload Forms
<p>I have a number of upload file forms that need validating (shortened example):</p>

<pre><code>&lt;form&gt;
&lt;input type='file' name='file[]' class='file_upload_button'&gt;
&lt;input type='file' name='file[]' class='file_upload_button'&gt;
&lt;input type='file' name='file[]' class='file_upload_button'&gt;
&lt;input type='file' name='file[]' class='file_upload_button'&gt;

&lt;input type='submit' value='Save Draft' class='save_draft_button'&gt;
&lt;/form&gt;
</code></pre>

<p>And I want each upload input to be validated by file type, but I'm having a hard to understanding what needs to be done. This is the kind of thing I'm trying, but evidently it's not right!</p>

<pre><code>if (! empty($_FILES['file']['name'][0])) {  
// VALIDATION goes here
    }
</code></pre>

<p>But I can't figure out how to select, for example, the first upload field - I've tried using $_FILES['file']['name'][0] but to no avail. Any hep would be appreciated!</p>
