[code]
"C:\Program Files\Internet Explorer\iexplore.exe" http://xxx.com.cn/index.php
echo "after web open"
[/code]
大概是这样,如果我自己做的网页打开的时间比较长,我希望在网页完全打开后才输出 "after web open" 那应该怎么做?

解决方案 »

  1.   

    批处理代码如下C:\Program Files\Internet Explorer\iexplore.exe" http://xxx.com.cn/index.php
    echo "after web open"大概是这样,如果我自己做的网页打开的时间比较长,我希望在网页完全打开后才输出 "after web open" 那应该怎么做?
      

  2.   

    用JavaScript
    document.onreadystatechange = function() {
    if (document.readyState == "complete") {
    alert('after web open');
    }
    }
      

  3.   

    晕死了,我的意思是说想在网页完全打开后才继续执行批处理下面的代码。
    比如说想读取php中的做的一些设置,等等。
      

  4.   

    一样的,在complete中追加post提交给php处理。
      

  5.   

    我不知道,这个问题应该不属于php范畴,你应该到其他相关版块去问。