jd2007 Posted October 26, 2007 Share Posted October 26, 2007 How to prevent the default error message from being displayed ? Quote Link to comment https://forums.phpfreaks.com/topic/74869-how-to-prevent-the-default-error-message-from-being-displayed/ Share on other sites More sharing options...
GingerRobot Posted October 26, 2007 Share Posted October 26, 2007 I wonder if Barand has his 'telepathy upgrade board' yet (http://www.phpfreaks.com/forums/index.php/topic,165168.msg725975.html#msg725975) What is the problem? Quote Link to comment https://forums.phpfreaks.com/topic/74869-how-to-prevent-the-default-error-message-from-being-displayed/#findComment-378521 Share on other sites More sharing options...
subcool Posted October 26, 2007 Share Posted October 26, 2007 php errors? error_reporting(0); in your PHP scripts or turn it off in your php.ini Quote Link to comment https://forums.phpfreaks.com/topic/74869-how-to-prevent-the-default-error-message-from-being-displayed/#findComment-378534 Share on other sites More sharing options...
rajivgonsalves Posted October 26, 2007 Share Posted October 26, 2007 if your talking about customizing the php error messages you can look at set_error_handler more information available at http://www.php.net/errorfunc Quote Link to comment https://forums.phpfreaks.com/topic/74869-how-to-prevent-the-default-error-message-from-being-displayed/#findComment-378580 Share on other sites More sharing options...
premiso Posted October 26, 2007 Share Posted October 26, 2007 Or if you want just simply turn display_errors off using ini_set or via php.ini. Quote Link to comment https://forums.phpfreaks.com/topic/74869-how-to-prevent-the-default-error-message-from-being-displayed/#findComment-378604 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.