摘要: preg_match('/^([a-z\-]+)/i', $_SERVER['HTTP_ACCEPT_LANGUAGE'], $matches);$lang = $matches[1];switch ($lang) { case 'zh-cn' : //header('Locat... 阅读全文
posted @ 2015-09-15 10:19 sandea 阅读(1185) 评论(0) 推荐(0)