회원 비밀번호 강제 변경하기 > 소스코드

본문 바로가기

회원로그인

회원가입

소스코드

그누보드 회원 비밀번호 강제 변경하기

페이지 정보

profile_image
작성자 최고관리자
댓글 0건 조회 72회 작성일 22-04-21 21:22

본문

/sql_password.php 파일생성

======================================

<?php
include_once('./_common.php');

$pass = "1234";
$hash = sql_password($pass);
$new_password = create_hash($pass);

$sql = " update g5_member set mb_password = '$new_password' where mb_id = 'admin' ";
sql_query($sql);


echo "변경완료";

======================================

댓글목록

등록된 댓글이 없습니다.