开发者

How to setup custom error messages for my php application?

I want to make an application in php where users can run their php files. In that application I want to show more simp开发者_开发知识库le error messages to the user. Is there any procedure in php to edit default error messages?


You can set your own error handler.


use set_error_handler and set_exception_handler to intercept errors and exceptions so you can display your own messages

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜