有木有那个高手抽出一点时间帮我看看我的在线投票系统,我弄了好久,都找不到解决方法,具体问题是这样的:在登陆管理系统时,总出现这句话
Warning: Cannot modify header information - headers already sent
by (output started at F:\wamp\www\tvote2\tianen_func.php:2) in F:\wamp\www\tvote2\cha.php on line 44
可以的话我把那些我联系写的代码发到你邮箱去,先谢谢了。[/code]
Warning: Cannot modify header information - headers already sent
by (output started at F:\wamp\www\tvote2\tianen_func.php:2) in F:\wamp\www\tvote2\cha.php on line 44
可以的话我把那些我联系写的代码发到你邮箱去,先谢谢了。[/code]
header、session_start、setcookie 函数执行时,都不允许有在其之前有任何内容输出的
开启缓存
ob_start();//就行了