阅读背景:

在返回给用户之前,如何处理所有php数据?

来源:互联网 

I use zend framework and I have enabled layout on it. Sometimes some bad coded controller/actions may throw an error/warning such as: "Warning: something wrong here in /path/to/controllers/controllername.php on line 12". I wonder if there´s a single point of output that returns the data to the requester, so that I can check what is being sent before sending it. This way I could use a regular expression and remove php warnings from the final result I send to the requester.I use zend framework and I have enabled layout




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: