KIẾN THỨC WEBSITE
Đổi mật khẩu tài khoản quản trị tối cao trong NukeViet 4

Mở includes/mainfile.php, thêm vào cuối file đoạn này.
$username = 'admin';$password = $crypt->hash( trim( '111qqq' ) );if( $db->exec( "UPDATE " . NV_USERS_GLOBALTABLE . " SET password=" . $db->quote( $password ) . " WHERE md5username='" . nv_md5safe( trim( $username ) ) . "'" ) ){ die( 'Reset password success. Delete this file immediately' );}else{ die( 'No Reset password' );}
Thay đổi giá trị:$username = 'admin';
$password = $crypt->hash( trim( '111qqq' ) );
Truy cập vào một nơi bất kỳ trên site, nếu nhận được thông báo "Reset password success. Delete this file immediately" thì xem như thành công. Xóa đoạn code này đi.
Tác giả bài viết: www.web360do.vn

Vui lòng liên hệ để được tư vấn!
0903.177.877 - 0988 80 13 80 ĐĂNG KÝ NGAY
Những tin mới hơn
Những tin cũ hơn