Home > Backend Development > PHP Tutorial > php网页重定向的实现方法

php网页重定向的实现方法

WBOY
Release: 2016-06-23 13:24:52
Original
838 people have browsed it

php网页重定向的实现方法

1、header("Location: http://www.baidu.com"); //Location:之后有“空格”2、echo "<script>window.location = " 3、echo "<METAHTTP-EQUIV=\"Refresh\" CONTENT=\"0; URL=http://www.baidu.com\">";
Copy after login


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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template