关于使用PHP的 session_start()的问题~~~

来源:百度知道 编辑:UC知道 时间:2024/07/04 18:49:37
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\Apache2\htdocs\demo\Admin\Login.php:7) in D:\Apache2\htdocs\demo\Admin\Login.php on line 28
使用后报错。。请问如何解决啊???
我不是写在页首。。但是我下在<?php ?>这个代码块的最上面的...

不是
----------------
出错的意思是说你已经发出过信息了
---------------
使用session_start()这个函数的前面不能有任何的输出,懂么?
所以如果你不懂,最好把这个函数写到程序的最上面