用PHP实现"等待指定的时间,然后再跳转到指定页面".也就是用php实现和HTML中的一样的效果。
- <?
- /**
- @title:PHP定时跳转
- @功能:等待指定的时间,然后再跳转到指定页面(代替html meta方式)
- */
- header("refresh:3;url=http://www.Vevb.com");
- print('正在加载,请稍等...<br>三秒后自动跳转~~~');
- /*
- 补充说明:
- 若等待时间为0,则与header("location:")等效。
- */
- ?>
新闻热点
疑难解答