一个页面转向的方法提问 <?phpif (true) { header(Location: index.htm); die;} else { header(Location: error.htm); die;}?> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 方法一:header("Location: index.php"); 方法二:echo "<script>window.location =\"$PHP_SELF\";</script>"; 方法三:echo "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0; URL=index.php\">"; header("Location: index.php"); echo "<script>window.location =\"$PHP_SELF\";</script>"; echo "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0; URL=index.php\">"; 像新浪微博那样的链接转向怎么做到的 门户网站与ucenter结合的一键登录问题,熟悉或有兴趣ucenter的朋友请进 PHP秒杀 散分 闪人了. 出现乱码! ZendStudio调试的小白问题 求救!为什么用在smarty 模板里的JavaScript脚本都无法使用呢? 请问我用PHP生成的Excel表格中,为什么中文会变成乱码呢?郁闷中... 向各位高手请教,急! Php的一个小问题 如何用正则表达式分离网页中html标签中的内容? 初探PHP5
方法二:echo "<script>window.location =\"$PHP_SELF\";</script>";
方法三:echo "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0; URL=index.php\">";
echo "<script>window.location =\"$PHP_SELF\";</script>";
echo "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0; URL=index.php\">";