重定向一般有三种方式1。html的meta标记
<meta http-equiv=refresh content=0;URL=yufan.php>2。客户端脚本(以JS为例)
<SCRIPT LANGUAGE="JavaScript">
<!--
window.location.href="yufan.php";
//-->
</SCRIPT>3。服务器端脚本(以php为例)
header("location:yufan.php");
<meta http-equiv=refresh content=0;URL=yufan.php>2。客户端脚本(以JS为例)
<SCRIPT LANGUAGE="JavaScript">
<!--
window.location.href="yufan.php";
//-->
</SCRIPT>3。服务器端脚本(以php为例)
header("location:yufan.php");
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货