세션 테이블을 뒤집어 엎는 중.
session 디렉토리 제거. 서버의 자체 session으로 관리함. 필요하다면 자동로그인을 추가함. login_process.php를 이용하지 않고 자체적으로 세션을 관리하도록 처리 중.
This commit is contained in:
+2
-3
@@ -65,18 +65,17 @@ if($img < 1) { $picture = 'default.jpg'; };
|
||||
$connect
|
||||
) or Error(__LINE__.MYDB_error($connect),"");
|
||||
|
||||
$pw = md5('12qw!@QW12qw!@QW');
|
||||
|
||||
$picture = 'pic_2.jpg';
|
||||
if($img < 1) { $picture = 'default.jpg'; };
|
||||
|
||||
//부운영자는 비밀번호를 지정하지 않아 로그인할수 없도록 처리한다.
|
||||
@MYDB_query("
|
||||
insert into general (
|
||||
user_id, password, connect, name, picture, nation, city, troop, makelimit,
|
||||
leader, power, intel, experience, dedication, gold, rice, crew, train, atmos,
|
||||
weap, book, level, turntime, killturn, lastconnect, userlevel
|
||||
) values (
|
||||
'viceadmin', '$pw', '0', '부운영자', '$picture', '0', '3', '0', '0',
|
||||
'viceadmin', 'a', '0', '부운영자', '$picture', '0', '3', '0', '0',
|
||||
'50', '50', '50', '0', '0', '10000', '10000', '0', '0', '0',
|
||||
'0', '0', '0', '$turntime', '80', '$lastconnect', '5'
|
||||
)",
|
||||
|
||||
Reference in New Issue
Block a user