header("Location:usrl");要這樣的﹖

解决方案 »

  1.   

    我需要的不是在header中location
    而是在header之外location
      

  2.   

    echo "<script language=javascript>window.location.href='url'</script>";
      

  3.   

    那就讓程序繼續執行下去﹐直到這一句﹕<meta http-equiv="refresh" content="0;URL=yourUrl">
      

  4.   

    对,就这句:
     <meta http-equiv="refresh" content="0;URL=yourUrl">
      

  5.   

    支持 zh_yuandc(中原大帝)的说法,这个东西可以放在你body中的任何地方(只要能运行到),没有问题的。
    至于使用meta,一般用在文档头。