there cannot be any output before session_start(); , and you have a space after <? and before session_start();
解决方案 »
- 有关UNION与WHERE的问题
- PHP连接数据库的问题
- 请教关于用户与用户组的关联问题
- 简单跳转问题 如何把这里<li><a href="only.php">第<?=$row['0'];?>个帖子</a><li>输出的记录在only页面得到
- 关于Try-Catch,奇怪了,大侠救我
- 将脚本嵌入到网页中的模式,是最终会被淘汰吗?(php就是这样呀)
- 初学php,关于类的疑问~~~
- PHP 中邮件内容初始化的问题
- js如何获取页面里的$_SESSION的值,并为其加一?
- php 支付宝借口问题
- smarty模板的cache怎么只能缓存一个页面?
- 在php页面中执行这段程序 出现 document.all.form1.p.value 为空或不是对象!!
(PHP 4 )注: If you are using cookie-based sessions, you must call session_start() before anything is outputted to the browser.