Created
October 9, 2016 14:21
-
-
Save kaspergrubbe/d8bb1dc2d5575717df4430d212947ab0 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 | |
ob_start(); | |
var_dump($_POST); | |
$output = ob_get_clean(); | |
$outputFile = "var_dump_output.txt"; | |
$filehandle = fopen($outputFile, 'a') or die("File creation error.""); | |
fwrite($fileHandle, $output); | |
fclose($fileHandle); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment