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重定向
最新推荐文章于 2021-03-22 03:14:18 发布
if($mod=='view'){
$tid=intval($_G['gp_tid']);
header("Location: /thread-$tid-1-1.html",TRUE,301);
}else{
header('Location: /', true, 302);
}