php4.17小记 2019-04-17 php | 阅读 页面跳转 Header 1 2 3 4 5 6 7 8 9 <? if (isset($url)) { Header("HTTP/1.1 303 See Other"); Header("Location: $url"); exit; //from www.w3sky.com } ?> location 1 2 3 4 5 6 7 <? $url="http://www.jb51.net"; echo "<!--<scrīpt LANGUAGE="Javascrīpt">"; echo "location.href='$url'"; echo "</scrīpt>-->"; ?> meta 1 echo "< meta http-equiv=\\"Refresh\\" content=\\"秒数; url=跳转的文件或地址\\" > ";