Uploading Multiple Files


<html> <!-- multiupload.php -->
<body>
<?php
   for ($i=0; $i<count($_FILES["file"]["name"]); $i++){
      move_uploaded_file($_FILES["file"]["tmp_name"][$i],$_FILES["file"]["name"][$i]); 
   }
 ?> 
</body>
</html>

RESETRUNFULL
<!DOCTYPE html>
<html>
<head></head>
<body>
<form action="multiupload.php" method="post"
      enctype="multipart/form-data">
    <label for="file">Filename:</label>
    <input type="file" name="file[]" multiple /> <br />
    <input type="submit" value="Submit" />
</form>
</body>
</html>