send $_FILES to other function
<p>how send $_FILES to other function?</p>

<pre><code>&lt;?php
function save(how get $_FILES["img"] ??)
{
    //$img = $_FILES["img"]; How get  $_FILES["img"] ??
    $user_file = $_FILES['img']['name'];
    $file_temp = $_FILES['img']['tmp_name'];
    $new = "new/";

    move_uploaded_file($file_temp, $new .$user_file.'');
    echo "&lt;br&gt;&lt;b&gt;OK&lt;b&gt;";
}

if(isset($_POST['SEND'])){
    save($_FILES["img"]);
}
?&gt;
</code></pre>
