php中flush和header同时使用报错有关问题

WBOY
Release: 2016-06-13 12:39:33
Original
970 people have browsed it

php中flush和header同时使用报错问题
我在header前面有输出,怎样让下面的代码header不报错?求解决办法。。。。
//这是我加入的代码
echo 'sd';
ob_flush(); 
flush(); 
//下面是系统的代码,无法改变。
ob_start();
header('Status: 2342');
?>

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!