fantomel Posted January 3, 2009 Share Posted January 3, 2009 hello i have a question can it be done in php a custom error when we have an error in php code .. or something like that... to show a page custom made.. like 404 error... and for msql .. errors.. same question Link to comment https://forums.phpfreaks.com/topic/139306-php-custom-errors/ Share on other sites More sharing options...
laPistola Posted January 3, 2009 Share Posted January 3, 2009 i asked this question a few weeks back, and there wasn't any reply with an answer Link to comment https://forums.phpfreaks.com/topic/139306-php-custom-errors/#findComment-728698 Share on other sites More sharing options...
Mchl Posted January 3, 2009 Share Posted January 3, 2009 Never tried it, but I guess these functions could do it. http://www.php.net/manual/en/ref.errorfunc.php set_error_handler looks especially promising. Link to comment https://forums.phpfreaks.com/topic/139306-php-custom-errors/#findComment-728699 Share on other sites More sharing options...
fantomel Posted January 17, 2009 Author Share Posted January 17, 2009 thanks for your response it helped me Link to comment https://forums.phpfreaks.com/topic/139306-php-custom-errors/#findComment-739123 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.