Last active
October 26, 2015 22:42
-
-
Save tiagodavi/bf427ee3fe7f82963851 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//file upload.php | |
$pic = $_FILES['pic']; | |
echo '<pre>'; | |
print_r($pic); | |
?> | |
<form action="upload.php" enctype="multipart/form-data" method="post"> | |
<input class="tf" type="file" name="pic[]" accept="image/*"> | |
<input class="tf" type="file" name="pic[]" accept="image/*"> | |
<input class="tf" type="file" name="pic[]" accept="image/*"> | |
<input class="tf" type="file" name="pic[]" accept="image/*"> | |
<input type="submit" value="enviar"> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment