5
Log and display all errors, warnings and notices
Log and display all errors, warnings and notices into a file
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
ini_set("error_log", "myerrors.log");
error_reporting(E_ALL);
rated 5 times
(5)
(0)
comments: 0 / hits: 1723
/ 3 years ago, sat, sep 16, 17, 04:52:35
More From
» PHP
Comments
There are no comments for this Snippet yet
Only authorized users can post. Please sign in first, or register a free account