扫码关注官方微信
武术爱好者
2024-07-04
2024-05-15
2020-01-20
2024-05-13
2021-02-21
include/common.inc.php复制代码在 引用: error_reporting(0); set_magic_quotes_runtime(0);复制代码 下加上 引用: $domain = 'bbs.nasue.com'; //新域名 if ($_SERVER['HTTP_HOST'] != $domain) { header("HTTP/1.1 301 Moved Permanently"); header("Location: http://{$domain}{$_SERVER[REQUEST_URI]}"); } unset($domain);复制代码转自 http://www.discuz.net/thread-619071-1-1.html
error_reporting(0); set_magic_quotes_runtime(0);复制代码
$domain = 'bbs.nasue.com'; //新域名 if ($_SERVER['HTTP_HOST'] != $domain) { header("HTTP/1.1 301 Moved Permanently"); header("Location: http://{$domain}{$_SERVER[REQUEST_URI]}"); } unset($domain);复制代码转自 http://www.discuz.net/thread-619071-1-1.html
举报
本版积分规则 发表回复 回帖并转播 回帖后跳转到最后一页