AjaxPlorer Ver 2.55 한글 업로드 및 다운로드 정보
HTML AjaxPlorer Ver 2.55 한글 업로드 및 다운로드
본문
AjaxPlorer 2.55 한글 업로드 및 다운로드 가능토록 수정
Ajaxplorer
1. /server/conf/conf.php
$default_language="en" =>> $default_language="ko" 로변경
2. server/classes/class.SystemTextEncoding.php
function getEncoding(){
...
}
함수 내에 setlocale(LC_CTYPE, 'ko_KR.eucKR'); 추가
ex)
function getEncoding(){
global $_SESSION;
// Check if the session get an assigned charset encoding (it's the case for remote SSH for example)
if (isset($_SESSION["AJXP_CHARSET"]) && strlen($_SESSION["AJXP_CHARSET"])) return $_SESSION["AJXP_CHARSET"];
// Get the current locale (expecting the filesystem is in the same locale, as the standard says)
setlocale(LC_CTYPE, 'ko_KR.eucKR');
return SystemTextEncoding::parseCharset(setlocale(LC_CTYPE, 0));
}
setlocale에 대한 자세한 사항은 아래 php.net 참조
http://kr.php.net/manual/kr/function.setlocale.php
위 수정만으로 한글 파일 업로드 및 다운로드 가능합니다.
3
댓글 2개

AjaxPlorer 는 euc-kr 에서는 사용할수 없나요?
그리구 AjaxPlorer 를 설치하는 방법이나
설정방법을 초보자도 알수있게 쉽게 설명되어있는
메뉴얼은 없을까요?
쉬운답변 주시면 너무나 감사하겠습니다...

데이터 따로 업로드 하지 않고 하드 복사해서 쓰면
대용량 서버에 넣어서 사용하기 좋던데...
(왠지 몰라도 공유기 써서 그런지 전 다운이10mb중 1mb로 고정이...)
갠적으로 http://extplorer.sourceforge.net/ 도 괜찮더군요.