che, che_close, che_rest 방식을 통합 디렉토리를 이용하도록 변경

This commit is contained in:
2018-01-15 01:08:32 +09:00
parent 922af0d2a1
commit 8fae0c2b5a
178 changed files with 227 additions and 33198 deletions
+36
View File
@@ -0,0 +1,36 @@
<?php
include "lib.php";
include "func.php";
$connect=dbConn();
$query = "select no,user_id,password,name from general where user_id='$_SESSION[p_id]'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
$_SESSION[p_id] = "";
$_SESSION[p_name] = "";
$_SESSION[p_nation] = 0;
$id = $me[user_id];
$pw = $me[password];
$conmsg = $me[conmsg];
//Ǻ
session_destroy();
//echo "<script>location.replace('start.php');</script>";
echo 'start.php';//TODO:replace
/*
<html>
a
<form name=form1 action=../login.php method=post>
<input type=hidden name=id value='<?=$id;?>'>
<input type=hidden name=pw value='<?=$pw;?>'>
<input type=hidden name=conmsg value='<?=$conmsg;?>'>
</form>
<script>form1.submit();</script>
</html>
*/