php页面跳转一:header()函数
php代码
<?php
header("location: http://baidu.com");
exit();
?>
php页面跳转二:meta标签
html代码
< meta http-equiv="refresh" content="1;url=http://baidu.com">
php页面跳转三:javascript
php代码
<?php
$url = "http://baidu.com";
echo "< script language='javascript' type='text/javascript'>";
echo "window.location.href='$url'";
echo "< /script>";
?>
