<?php // Configuration Script // Settings for Error Reporting // Sets Production Level Error Reporting - all errors are hidden. error_reporting(0); // Sets Development Level Error Reporting - all errors are reported. //error_reporting(E_ALL); // Settings for Error Logging // Sends all error messages to a text file - phperrors.txt. $errormsg = 'An error occurred. The error was in script ' . __FILE__ . ' at line ' . __LINE__ . "\n"; error_log($errormsg, 3, 'phperrors.txt'); ?>