Home > Backend Development > PHP Tutorial > The solution for drupal7 founder root to forget his password, drupal7root_PHP tutorial

The solution for drupal7 founder root to forget his password, drupal7root_PHP tutorial

WBOY
Release: 2016-07-13 10:08:56
Original
901 people have browsed it

The solution for drupal7 founder root to forget his password, add drupal7root

after drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); in index.php
require_once 'includes/password.inc';
echo user_hash_password('111111');
die();
Copy after login
Run to get the encrypted ciphertext, and then update the pass field of the users database table.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/948223.htmlTechArticleThe solution for drupal7 founder root to forget the password, drupal7root is added after drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); in index.php require_once 'includes/password.inc';echo user_...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template