1.第一种:
<?php
header("Location: htto://www.wdlinux.cn");
?>
2.第二种:
和javascrīpt结合起来
echo "<script language=javascript>";
echo "location.href='www.wdlinux.cn';";
echo "</script>";
3.第三种:
echo("<meta http-equiv='refresh'content=0;URL='http://www.wdlinux.cn'>");