Created
March 6, 2015 17:27
-
-
Save mirko77/d80c896070485f9586db to your computer and use it in GitHub Desktop.
Dump POST
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 | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
//echo print_r( $_POST); | |
//echo print_r($_FILES); | |
$date = new DateTime(); | |
//echo $date->getTimestamp(); | |
file_put_contents("post_".$date->getTimestamp().".txt", print_r( $_POST, true)); | |
file_put_contents("file_".$date->getTimestamp().".txt", print_r( $_FILES ,true)); | |
file_put_contents('input_'.$date->getTimestamp().'.txt', file_get_contents('php://input')); | |
echo "1"; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment