session_start() [function.session-start]
生活随笔
收集整理的这篇文章主要介绍了
session_start() [function.session-start]
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
之前没有加 error_reporting (E_ALL ^ E_WARNING);一直弹的错误都是
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\AppServ\www\liuyan\post.php:15) in D:\AppServ\www\liuyan\header.php on line 1
后来 改成
<?php
error_reporting (E_ALL ^ E_WARNING);
session_start();
?>
就不弹出了。。
转载于:https://www.cnblogs.com/visi_zhangyang/archive/2012/02/20/2359590.html
总结
以上是生活随笔为你收集整理的session_start() [function.session-start]的全部内容,希望文章能够帮你解决所遇到的问题。