当php报出  Cannot send session cache limiter 或Cannot modify header information   的错误时   其理论上是因为php代码以前有html的代码    我今天发现这个错误 然后去看了下php文件   发现<?php  的上一行为空行   去掉之后再刷新页面解决   往往还有的错误是因为  headr()这个函数值钱有过输出  或者html代码   

posted on 2014-08-06 10:30  moffiestyle  阅读(115)  评论(0编辑  收藏  举报