PHP页面跳转一:header()函数
Php代码
<?php header("Location: http://baidu.com"); exit(); ?>
PHP页面跳转二:meta标签
Html代码
a9bdcca7b70ee523a3f599faa576ec38
PHP页面跳转三:JavaScript
Php代码
<?php $url = "http://baidu.com"; echo "< script language='javascript' type='text/javascript'>"; echo "window.location.href='$url'"; echo "< /script>"; ?>