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 "-->";
?>
http://www.bkjia.com/PHPjc/631871.htmlwww.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...
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