warning: session_start(): cannot send session
warning: session_start(): cannot send session cache limiter
echo "Homen
";
session_start();
Warning: session_start(): Cannot send session cache limiter
想知道为什么session_start();加一句就会出现警告消息
session_start(): 放在文件开始 试试
Note: If you are using cookie-based sessions, you must call session_start() before anything is outputted to the browser.
如果你正在使用基于cookie的sessions,不要在session_start前面输出任何东西都浏览器PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号