php自动跳转页面的方法:1、使用【header()】函数,代码为【void header (string string [bool replace[]】;2、使用Meta标签,代码为【< meta http-equiv=refresh】。

php自动跳转页面的方法:
PHP页面跳转一、header()函数
void header (string string [,bool replace [,int http_response_code]]);
php的头部不能够有任何数据的输出

PHP页面跳转二、Meta标签
< meta http-equiv="refresh" content="1;url=http://www.baidu.com">

PHP页面跳转三、JavaScript(常用、推荐)








