有呀,在PHP中可以用header()函数。

解决方案 »

  1.   

    是不是header("Location:anypage.php");吗?
    header函数可以传递那些参数?谢谢,
      

  2.   

    html 規範中
    <head>
    </head>
    之間的屬性都可以傳遞 .
      

  3.   

    你把你那段写成个function调用吧,好象只这个方法好用些
      

  4.   

    function jump($url)
    {
    if (eregi('\|',$url)){
    $urlt=split("\|",$url);
    $url=$urlt[0];
    $seconds=$urlt[1];
    }
    if (!is_num($seconds)) $seconds=0;
    echo "<META HTTP-EQUIV=REFRESH CONTENT='".$seconds.";URL=".$url."'>";
    }
    <? jump ("url.php|2") //2秒后跳转 url.php   jump ("url.php") //直接跳转 url.php
    ?>