Warning: Cannot modify header information - headers already sent by
各位好,我的程序在局域网中没有问题,放到外网后出现那下的问题,找了一天了,都没有解决,这上面的方法我都用过了http://joesen.f2blog.com/read-372.html,请各各位指教,错误如下:
Warning: Cannot modify header information - headers already sent by (output started at /home/part/part/search/buy_d.php:1) in /home/part/part/inc/dbclass.php on line 168
function LastUrl($cookValue)
{
echo $cookValue."<br>";
$ExpireTime = mktime(0,0,0,1,1,2100); //到2100年1月1日失效
setcookie("LastUrlu",$cookValue,$ExpireTime,"/");//不带失效时间,168行
}