Home  >  Article  >  php教程  >  用PHP实现自动跳转

用PHP实现自动跳转

WBOY
WBOYOriginal
2016-06-21 09:06:22770browse

自动跳转


//PHP自带函数
Header("Location:  http://www.phpx.com ");
?>

//利用meta
echo "";
?>

//利用Javascript语言
echo "";
?>


————————————————-
注意:使用Header函数时必须网页未产生任何输出,此时尤其要注意空格的问题。即必须放在网页最开始处


 



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn