Home  >  Article  >  php教程  >  php 报错 Cannot modify header information,modifyheader

php 报错 Cannot modify header information,modifyheader

WBOY
WBOYOriginal
2016-06-13 09:11:491027browse

php 报错 Cannot modify header information,modifyheader

在用CI 开发微信公众号的时候出现下面这么个问题,网上看了一圈解决办法是:把报错的文件用editplus另存为utf-8。

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at Filename: libraries/Session.php

Line Number: 688

因为每个页面都报上面的错,所以我估计是CI根目录下的index.php有问题,用上面的办法将index.php另存为utf-8,问题解决。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:php查看当前Session的ID实例Next article:php合并图片,