Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
$json_data = file_get_contents('php://input');
error_log('error-reportado');
error_log(print_r($json_data,true));
//En caso quieras especificar el archivo en donde se guardarán los mensajes, tendrías que cambiar la ruta
//error_log(print_r($json_data,true), 3, "/Users/jmarreros/www/decodecms/errores_csp.log");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.