摘要: preg_match('/^([a-z\-]+)/i', $_SERVER['HTTP_ACCEPT_LANGUAGE'], $matches); $lang = $matches[1]; switch ($lang) { case 'zh-cn' : //header('Location: htt 阅读全文
posted @ 2024-05-06 18:24 mingruqi 阅读(48) 评论(0) 推荐(0) 编辑