if($mod=='view'){
$tid=intval($_G['gp_tid']);
header("Location: /thread-$tid-1-1.html",TRUE,301);
}else{
header('Location: /', true, 302);
}
php实现301、302重定向
猜你喜欢
转载自blog.csdn.net/abiao555/article/details/111028044
今日推荐
周排行