PHP foreach() define 2 things?
<p>I'm trying to define both ['name'] and ['tmp_name'], but i'm having no idea how to do so?</p>

<p>Here is my code:</p>

<pre><code> foreach ($_FILES['uploads']['name'] as $filename) {
   // Do stuff 
 }
</code></pre>

<p>But inorder to complete and move the file, I need the <code>$_FILES['uploads']['tmp_name']</code> aswell. How do I define both? I tried looking it up, but found nothing.</p>
