general table의 no_member를 의미에 더 맞도록 owner로 변경.

general table의 user_id, password column 삭제. 코드도 이를 참조하지 않고 owner를 이용하도록 변경
This commit is contained in:
2018-02-04 04:40:35 +09:00
parent e42643d439
commit 5ed33b1cda
89 changed files with 421 additions and 391 deletions
+3 -1
View File
@@ -3,6 +3,8 @@ include "lib.php";
include "func.php";
$connect = dbConn();
//TODO: 폐기
$id = $_POST['id'];
$pw = $_POST['pw'];
$pw = md5($pw.$pw);
@@ -43,7 +45,7 @@ if(!$me2) {
$date = date('Y-m-d H:i:s');
$query="update general set logcnt=logcnt+1,ip='{$_SESSION['p_ip']}',lastconnect='$date',conmsg='$conmsg' where no_member='{$_SESSION['noMember']}'";
$query="update general set logcnt=logcnt+1,ip='{$_SESSION['p_ip']}',lastconnect='$date',conmsg='$conmsg' where owner='{$_SESSION['noMember']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
//echo "<script>window.top.location.replace('./');</script>";