<!--脚本开始--><script language=javascript>function countDown(secs,surl){ //alert(surl); tiao.innerText=secs; if(--secs>0){ setTimeout("countDown("+secs+",'"+surl+"')",1000); } else{ location.href=surl; } }</script><!--脚本结束-->
<br><span id="tiao">3</span>秒后自动跳转到PHPINFO页面<script language=javascript>countDown(3,'phpinfo.php');</script>