复制代码 代码如下:
< ?php
//重定向浏览器
header("Location: lampbrother.net");
//确保重定向后,后续代码不会被执行
exit;
?>
复制代码 代码如下:
< meta http-equiv = "refresh"
content = "1;url=http:// bbs.lampbrother.net" >
复制代码 代码如下:
< ?php
$ url = "http://bbs.lampbrother.net" ; ?>
< html >
< head >
< meta http-equiv = "refresh" content ="1;
url = < ?php echo $url; ?> " >
< /head >
< body >
页面只停留一秒……
< /body >
< /html >
复制代码 代码如下:
< ?php
$ url = "http://bbs.lampbrother.net" ;
echo " < script language = 'javascript'
type = 'text/javascript' > ";
echo " window.location.href = '$url' ";
echo " < /script > ";
?>
新闻热点
疑难解答