PHP提示Cannot modify header information - headers already sent by解决方法
本文实例讲述了PHP提示Cannot modify header information - headers already sent by解决方法,是进行PHP程序设计过程中经常会遇到的问题。本文对此以实例形式分析解决方法。分享给大家供大家参考。具体方法如下:现来看看这段代码:<?php ob_start();setcookie("username","test",time()+3600);echo "the username is:".$...