setcookie错误?Cannot modify header information
现象
编写了 代码 ,修改了几次之后,出现以下错误。
接着,我就把代码改为如源代码的php脚本。但是错误依旧。
但是,在当前文件,无论重启apache,ie试了,就是出现这样的错误?
如何解决?
(php提示,错误在第一行,可是我第一行保证没有空格啊)
系统
windows
php 4.3.4
apache 1.3.2
错误提示
Warning: Cannot modify header information - headers already sent by (output started at f:\business\stand\test1\test.php:1) in f:\business\stand\test1\test.php on line 2
源代码
<?
setcookie("cookie_var2");
?>