Home > Backend Development > PHP Tutorial > 登陆顺利 Warning: Cannot modify header information - headers already sent by (output

登陆顺利 Warning: Cannot modify header information - headers already sent by (output

WBOY
Release: 2016-06-13 13:14:39
Original
774 people have browsed it

登陆成功 Warning: Cannot modify header information - headers already sent by (output
登陆成功
Warning: Cannot modify header information - headers already sent by (output started at D:\52xinju\php\register_login.php:88) in D:\52xinju\php\register_login.php on line 90


这是怎么回事,怎么不自动跳转到首页。。。。高手求救

------解决方案--------------------
1、程序开头加ob_start();
2、用editplus 或者其它的 去掉UTF8-bom 换成 UTF8

以上两个执行一个就OK了

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