发新话题
打印

PHP中转向另一个网站(立即或定时)

PHP中转向另一个网站(立即或定时)

//header("Location:http://www.163.com");//立即转向
header("refresh:3;url=http://www.163.com");//3秒钟后转向
//echo "<meta http-equiv=\"refresh\" content =\"3;url=http://www.163.com\" />";//这样子也可

TOP

楼主好积极哦,学习了

TOP

发新话题