<br> //PHP自带函数<br> Header("Location: http://www.21php.com");<br><br> //利用meta<br> echo '<meta http-equiv="refresh" content="0; url=http://www.21php.com">';<br><br> //利用Javascript语言<br> echo "<script language="javascript">";<br /> echo " location='http://www.21php.com';";<br /> echo "</script>"; <br> ?><br> -------------------------------------------------<br>