세이박스

'다국어'에 해당되는 글 1건

  1. PHP 다국어 후킹

PHP 다국어 후킹

웹프로그램

switch($HTTP_ACCEPT_LANGUAGE) {
case "ko" : header("Location: /kor/index.php");break;
case "en" : header("Location: /enu/index.php");break;
case "ja" : header("Location: /jpn/index.php");break;
case "zh" : header("Location: /chs/index.php");break;
case "zh-cn" : header("Location: /chs/index.php");break;
Default : header("Location: /kor/index.php");break;
}