要学会调试
Warning: Cannot send session cache limiter - headers already sent (output started at e:\zdh\web\site\sdb\test.php:5) in e:\zdh\web\site\sdb\test.php on line 9
是说:
在e:\zdh\web\site\sdb\test.php 第 9 行处的session_start();
发现e:\zdh\web\site\sdb\test.php 第 5 行处有输出这个输出是包括错误信息的,也就是说虽然第5行并没有echo之类的代码,但是这里的代码出错并有错误信息产生也就是输出了!