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

用PHP实现自动跳转

WBOY
Release: 2016-06-21 09:06:22
Original
815 people have browsed it

自动跳转


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

//利用meta
echo "";
?>

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


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


 



Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template