如何让一个htm页面载入的时候自行刷新 html<meta http-equiv="refresh" content="0; url=目标地址>phpheader("Refresh: 0; URL=$url");但你必须自行防止陷入死循环 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 同上或都<script language="javascript">window.setTimeOut("http://www.sohu.com",3000);</script> <script language="javascript">window.setTimeout("http://www.sohu.com",3000);window.clearTimeout();</script> <html><head><title></title></head><body><SCRIPT LANGUAGE="JavaScript"><!--function Set(name,value){ var Then = new Date() Then.setTime(Then.getTime() + 60*1000 ) //60秒 document.cookie = name+"="+ value +";expires="+ Then.toGMTString() }function Get(name){ var cookieString = new String(document.cookie) var cookieHeader = name+"=" var beginPosition = cookieString.indexOf(cookieHeader) if (beginPosition != -1){ return cookieString.substring(beginPosition + cookieHeader.length) } else return ""}if (Get("reload")!="yes"){Set("reload","yes")window.location.reload();}--></script></body></html> 单独的html页面,要打开时自动刷新,必定会造成死循环。要实现打开时自动刷新一次,在不能使用SESSION的情况下,只能通过框架来实现.通过另一个frame来控制当前页的刷新. 论坛数据库构造问题 用php发送电子邮件时出现SMTP server response: 553 authentication is required错误 高分求phpwind 3.X 论坛的分页思路 100分急求一个Notice的警告信息的问题,谢谢!!! 刚注册的 要使用session,对PHP.ini要进行哪些设置? 简单问题 字符串处理,这个简单,高分,急,谢谢 关于数据库链接问题! dz3.1论坛添加一句代码 网页空白了 我想问问,能不能设置文件夹的属性使文件夹中的文件能被其他页面包含但是不能直接执行? 求助!session问题?错误信息如下,请各位大哥帮助解决一下
或都
<script language="javascript">
window.setTimeOut("http://www.sohu.com",3000);
</script>
window.setTimeout("http://www.sohu.com",3000);
window.clearTimeout();
</script>
<body>
<SCRIPT LANGUAGE="JavaScript">
<!--
function Set(name,value){
var Then = new Date()
Then.setTime(Then.getTime() + 60*1000 ) //60秒
document.cookie = name+"="+ value +";expires="+ Then.toGMTString()
}function Get(name){
var cookieString = new String(document.cookie)
var cookieHeader = name+"="
var beginPosition = cookieString.indexOf(cookieHeader)
if (beginPosition != -1){
return cookieString.substring(beginPosition + cookieHeader.length)
}
else
return ""
}
if (Get("reload")!="yes")
{
Set("reload","yes")
window.location.reload();
}
-->
</script>
</body>
</html>
要实现打开时自动刷新一次,在不能使用SESSION的情况下,只能通过框架来实现.
通过另一个frame来控制当前页的刷新.