Created
August 27, 2012 11:03
-
-
Save felixkiss/3487477 to your computer and use it in GitHub Desktop.
Upload Test Script
This file contains 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
array(1) { | |
["gameimage"]=> | |
array(1) { | |
["name"]=> | |
string(10) "simple.pdf" | |
} | |
} | |
<hr><form name="upload-image-form" enctype="multipart/form-data" method="post"> | |
<input type="file" name="gameimage" size="30" /> | |
<input type="submit" value="Submit" /> | |
</form> |
This file contains 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
array(1) { | |
["gameimage"]=> | |
array(5) { | |
["name"]=> | |
string(10) "simple.pdf" | |
["type"]=> | |
string(15) "application/pdf" | |
["tmp_name"]=> | |
string(14) "/tmp/phpmJ0EkJ" | |
["error"]=> | |
int(0) | |
["size"]=> | |
int(60911) | |
} | |
} | |
<hr><form name="upload-image-form" enctype="multipart/form-data" method="post"> | |
<input type="file" name="gameimage" size="30" /> | |
<input type="submit" value="Submit" /> | |
</form> |
This file contains 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 | |
var_dump($_FILES); | |
?><hr><form name="upload-image-form" enctype="multipart/form-data" method="post"> | |
<input type="file" name="gameimage" size="30" /> | |
<input type="submit" value="Submit" /> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment