Warning: session_start() [function.session-start]: Cannot send session
cache limiter - headers already sent (output started at
D:\miying\user\index.php:1) in D:\miying\inc\conn.php on line 2
Warning:
Cannot modify header information - headers already sent by (output
started at D:\miying\user\index.php:1) in D:\miying\inc\conn.php on line
3
C:\WINDOWS\php.in
在setcookie 函数之前 不能有页面输出包括空白,换行,ECHO或是其他字符输出!php.ini 里 修改output_buffering = on
修改php.ini中的session.auto_start = 0 为 session.auto_start = 1
C:\WINDOWS\php.in
*******************************************
Warning:
Cannot modify header information - headers already sent by (output
started at D:\wwwroot\tv\user\index.php:1) in D:\wwwroot\tv\inc\conn.php
on line 3
/inc/conn.php里面的这句去掉
header("Content-Type:text/html;Charset=utf-8");
要是去了这一句还是不可以,这一句保留去了这个上面的一句
session_start();