Menu

Php Debugging Params in File

July 6, 2016 - Php

file_put_contents( ‘debug’ . time() . ‘.log’, var_export($_REQUEST, true));
file_put_contents( ‘debug’ . time() . ‘.log’, var_export($_GET, true));
file_put_contents( ‘debug’ . time() . ‘.log’, var_export($_POST, true));

Leave a Reply