为了方便脱胎工作,我把错误的手稿引入我的PHP代码,收集所有错误、警告等,并记录数据库的查询,并在该页末显示管理人员贴在现场。
I d like to do something similar for ajax queries. And more generally I would like to integrate the two error panels together, but I am at a loss for a good method to do it.
关于我所想的粗略想法是一站式小组,在页上有错误,包括文稿中的错误。
我已经能够组成人口小组,并填充来自亚克斯要求的数据。
I thought of using the comet pattern for the error window and registering an exit handler with php that sends a http request that passes the errors to the window somehow, but I am not quite sure of how to go about doing this and how to tie it all to the php session(so that user don t see other s errors for example.)
有什么想法可以做到这一点? 我看上去什么简单?