$qurl = $_SERVER['REQUEST_URI'];
//获取url,伪静态地址也能完整取得
$qurl = str_replace("/index.php","",$qurl);
if ($qurl!=""){
header("HTTP/1.1 301 Moved Permanently");
header("Location: ");
exit();}
?>
本文转自 ☆★ 包罗万象 ★☆ - 转载请注明出处,侵权必究!
原文链接:
阅读(776) | 评论(0) | 转发(0) |