Last active
March 17, 2024 22:02
-
-
Save jmarreros/7df2c517eca062cf909fabaa1401db12 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 | |
$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