http://www.kaixingu.net/html/10-oidindex-page1.htm

解决方案 »

  1.   

    echo "<html><head><meta http-equiv=\"refresh\" content=\"2\" url=\"/input.php\"></head><body>提交成功!</body></html>\n";
      

  2.   

    谢谢zeroleonhart,但是好像这个方法不好使试了和我上边的第1、3次效果一样
      

  3.   

    <script>window.location.reload("input.php");</script>
      

  4.   

    改一下
    <script>
    function a()
    window.location.reload("input.php");
    }
    setTimeout("a()",2000);
    </script>
      

  5.   

    echo "提交成功!";
    echo "<meta http-equiv=\"refresh\" content=\"2\" url=\"/input.php\">\n";==》echo "提交成功!";
    echo "<meta http-equiv=\"refresh\" content=\"2; url='/input.php'\">\n";
      

  6.   

    echo "<script>alert('提交成功');</script>";
    echo   " <script> window.location   =\ "input.php\ "; </script> ";