Home > Backend Development > PHP Tutorial > Web page redirection in php - original_PHP tutorial

Web page redirection in php - original_PHP tutorial

WBOY
Release: 2016-07-13 10:59:33
Original
760 people have browsed it

Web page redirection in php
——Popcorn
There are three ways to redirect web pages in php:
1. Use header() to redirect
header("Location: $url");
exit;
?>
2. Redirect with tag embedded in HTML
";
echo "location.href='$url'";
echo "-->";
?>

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/631871.htmlTechArticleWeb page redirection popcorn in php There are three methods for web page redirection in php: 1. Use header() to redirect ? header(Location: $url); exit; ? 2. Re-use meta tags embedded in HTML...
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