Last active
August 29, 2015 14:16
-
-
Save divinity76/b25b1ecea9c5f08f1a1f to your computer and use it in GitHub Desktop.
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 | |
header("Access-Control-Allow-Origin: *"); | |
header("Access-Control-Allow-Credentials: true"); | |
echo '<pre>'; | |
ob_start(); | |
var_dump('$_GET',$_GET,'$_POST',$_POST,'$_COOKIE',$_COOKIE,'$_FILES',$_FILES); | |
echo htmlentities(ob_get_clean(),ENT_SUBSTITUTE).'</pre>'; | |
?> | |
<form action="?"> | |
<input type="file" name="files[]" > | |
<input type="file" multiple name="files[]" > | |
<input type="submit" value="Submit"> | |
</form> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment