Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Upload Test Script
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>
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>
<?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
Something went wrong with that request. Please try again.