본인인증 : 전체 모듈 php8 호환 코드 추가, 스위치문 개선

This commit is contained in:
projectSylas
2021-09-28 07:45:25 +00:00
parent 166c5e92bd
commit 21269e632b
17 changed files with 40 additions and 29 deletions

View File

@ -1,7 +1,6 @@
<?php
include_once('./_common.php');
global $g5;
$_POST['mb_id'];
if($w == '')
$mb_id = isset($_POST['mb_id']) ? trim($_POST['mb_id']) : '';
else
@ -23,6 +22,6 @@ $sql_password = "";
if ($mb_password)
$sql_password = "mb_password = '".get_encrypt_string($mb_password)."' ";
sql_fetch("update {$g5['member_table']} set {$sql_password} where mb_id = '{$mb_id}'");
sql_query("update {$g5['member_table']} set {$sql_password} where mb_id = '{$mb_id}'");
goto_url(G5_BBS_URL.'/login.php');