This commit is contained in:
2018-01-09 19:54:49 +09:00
commit 7b3201548a
518 changed files with 174188 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
<?
// 외부 파라미터
// $_POST['serverDir'] : 로그인할 서버 디렉토리
$serverDir = $_POST['serverDir'];
require_once('_common.php');
require_once(ROOT.W.F_FUNC.W.'class._JSON.php');
require_once(ROOT.W.F_CONFIG.W.DB.PHP);
require_once(ROOT.W.F_CONFIG.W.SESSION.PHP);
$rs = $DB->Select('ID, PW, CONMSG', 'MEMBER', "NO='{$SESSION->NoMember()}'");
$member = $DB->Get($rs);
$response['id'] = $member['ID'];
$response['pw'] = $member['PW'].md5(rand()%100000000);;
$response['conmsg'] = $member['CONMSG'];
$response['result'] = 'SUCCESS';
sleep(1);
echo json_encode($response);
?>