如我有test.php
  <html>
  <? echo phpinfo(); ?>
  <\html>
  请问如何让这个页面打开后,1分钟(或2分钟)自动关闭?

解决方案 »

  1.   

    http://topic.csdn.net/t/20020710/17/864248.html#
      

  2.   

    test.php
    <html> 
      <? echo phpinfo(); ?> 
    <OBJECT   id=closes   type=application/x-oleobject   height=0   width=0     
        classid=clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11>   
      <PARAM   NAME="Command"   VALUE="Close"></OBJECT>   
      <SCRIPT>setTimeout("closes.Click()",3000)</SCRIPT>     <\html>    运行显示,"只有在html中才有这个帮助"  我这个是test.php  怎办???
      
      

  3.   

    使用JSP的setTimeout方法:<script language="javascript">
    setTimeout('window.opener=null;self.close();',60000);//60000是毫秒数,可以换成你想要的时间
    </script>