简单问题,怎么在一个页面跳到另一个页面,不要用header函数。

fish21cn 2003-09-23 09:32:45
简单问题,怎么在一个页面跳到另一个页面,不要用header函数。
...全文
60 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
ken5 2003-09-23
  • 打赏
  • 举报
回复
echo "<script language='javascript'>window.location='./index.php';</script>";
fish21cn 2003-09-23
  • 打赏
  • 举报
回复
偶搞定了,使用JS的window.location.replace(Url)。其他人有没有其他方法。
leebx 2003-09-23
  • 打赏
  • 举报
回复
<meta http-equiv="refresh" content="3;URL=../index.php">
3秒自动跳到../index.php页面
leebx 2003-09-23
  • 打赏
  • 举报
回复
<meta http-equiv="refresh" content="3;URL=../index.php">
3秒自动跳到../index.php页面
lumberjake 2003-09-23
  • 打赏
  • 举报
回复
1、用javascript
2、用html中的<meta>标签
用法:<meta http-equiv="refresh" url="2;test.php">
其中url中的参数指定了延迟时间和跳转页面,用分号隔开!

21,891

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧