echo "<meta http-equiv=\"Refresh\" content=\"1;url=http://202.197.65.68/index1.php\">";

解决方案 »

  1.   

    echo "<meta http-equiv=\"Refresh\" content=\"1;url=http://202.197.65.68/index1.php\">";
      

  2.   

    echo "<meta http-equiv=\"Refresh\" content=\"1;url=http://202.197.65.68/index1.php\">";写成上面这个样子?
    不行啊,我试了!
    如果我放页面的这个站点的名字是:localhost,那么他会跳转到:http://localhost/http://202.197.65.68/index1.php
    这明显不对嘛。
      

  3.   

    这样写:
    echo "<script>";
    echo ("location.href=\"index.htm\";");
    echo "</script>";
      

  4.   

    改成绝对路径也一样:
    echo "<script>";
    echo ("location.href=\"http://202.197.65.68/index1.php\";");
    echo "</script>";