如何用PHP实现网页动态跳转

发表于:2007-06-21来源:作者:点击数: 标签:

   
   <?
//PHP自带函数
Header("Location: http://www.21php.com");

//利用meta
echo '<meta http-equiv="refresh" content="0; url=http://www.21php.com">';

//利用Javascript语言
echo "<script language='javascript'>";
echo " location='http://www.21php.com';";
echo "</script>";
?>
-------------------------------------------------

原文转自:http://www.ltesting.net