Home > Backend Development > PHP Tutorial > 不是说session_start()前面不能有输出吗?小弟我输出值后初始化,也oK

不是说session_start()前面不能有输出吗?小弟我输出值后初始化,也oK

WBOY
Release: 2016-06-13 12:30:11
Original
903 people have browsed it

不是说session_start()前面不能有输出吗?我输出值后初始化,也oK啊

<?php<br />
echo 111;<br />
session_start();<br />
echo session_id();
Copy after login

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template