얼렁뚱땅코드/그누보드

관리자 비밀번호 변경 방법

얼렁뚱땅 디자이너 2021. 11. 16. 08:58

루트 디렉토리에 새로운 php파일을 만들고

 

<?php
include_once('./common.php');
 
$a = 'admin'; /* 아이디 */
$b = '1111'; /* 변경할 비밀번호 */
$c = get_encrypt_string($b);
sql_query("update {$g5['member_table']} set mb_password = '{$c}' where mb_id = '{$a}' ");
?>

 

출처: <https://sir.kr/g5_tip/11187>