Home > php教程 > php手册 > php中的网页重定向原创

php中的网页重定向原创

WBOY
Release: 2016-06-21 09:13:04
Original
809 people have browsed it

网页|原创

             php中的网页重定向
                           ——爆米花
  在php中进行网页重定向一共有三种方法:
  1。利用header()重定向
  
    header("Location: $url");
    exit;
  ?>
2。用嵌入HTML的标识重定向
";
  echo "location.href='$url'";
  echo "-->";
  ?>



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