Mateobus Posted November 3, 2006 Share Posted November 3, 2006 Hello all. I am working on a script right now and I am trying to make it so that it will show the errors. Is there a line that I can add to the top of the script, or a way so that It will only show me the errors for this script and not all of the scripts on my site?thanks Link to comment https://forums.phpfreaks.com/topic/26097-display-errors-to-a-script/ Share on other sites More sharing options...
toplay Posted November 4, 2006 Share Posted November 4, 2006 You can control a particular script error reporting using:http://us3.php.net/manual/en/function.error-reporting.phpTo see the errors you must have display_errors on. Example:ini_set('display_errors', '1');See:http://us3.php.net/manual/en/ref.errorfunc.php#ini.display-errorshttp://us3.php.net/manual/en/function.ini-set.php Link to comment https://forums.phpfreaks.com/topic/26097-display-errors-to-a-script/#findComment-119468 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.