?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
if(trim($_REQUEST["logout"])!=""){
setCookie("passed","",time()-7200);
header("Location: ./");
}
$passed=trim($_COOKIE["passed"]);
if($passed!="") $passed=true;
$screend=trim($_COOKIE["screen_display"]);
?>
复制代码
结果是一连串的错误: Warning: Cannot modify header information - headers already sent by (output started at /home...
之类的。
这个在我本地机上是没问题的,在DH上也没问题,但一到HM,就不行了,各位帮我看看,谢谢 !