大家帮忙看一看 你在header.inc文件中有输出,不能再用header("location:welcome.php?name=$name");header("");之前必须没有任何输出。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 你可以用<META http-equiv='refresh' content='0; url=welcome.php?name=$name'>或者<script>self.location='welcome.php?name=$name';</script> "Warning: Cannot modify header information - headers already sent by (output started at D:\www\www\PBC\SiteManager\header.inc:12) in D:\www\www\PBC\SiteManager\sulogin.php3 on line 33"他的意思是说header已经重复了,可以在引用的文件里在header前家@符号,就可以要他不输出警告信息了。 用echo "<script>top.location.href='welcome.php?name=$name';</script>";header()前有对浏览器的输出,不能重定向。 判断日期合法性php程序,好多难理解的地方。 怎么取得$result=mysql_query("select count(name) from ip);中的值 请教sql语句的含义 帮忙!! PHP调用WEBSERVICE接口并传递参数 请教,想实现这样的功能该怎样做呢!!! 文件上传问题 如果得到这样的结果!! 请教关于php生成缩略图的问题!!! 安装PHP APC 报错 简单的查询问题(急!!!!!!) ?!?!?!?!??!??!?**帮忙
你可以用<META http-equiv='refresh' content='0; url=welcome.php?name=$name'>
或者
<script>self.location='welcome.php?name=$name';</script>
echo "<script>top.location.href='welcome.php?name=$name';</script>";header()前有对浏览器的输出,不能重定向。