在做discuz开发的过程中,遇到了开发网页间跳转的问题,再次特总结如下。
PHP中
header()函数
header("Location: http://www.xxx.com"); //注意只能本页面跳转,location:后面有个空格。补充,虽然只能本页面跳转可以在之前跳转到此页面的a连接中使用blank。
JS中
Documentecho "";//用来打开新窗口
echo "";//本窗口的跳转
?>
参考资料:
http://www..com/Qian123/p/5345298.html
http://blog..net/chenyanggo/article/details/7443051
http://www..com/aszx0413/articles/1886819.html