Home > Backend Development > PHP Tutorial > The solution for drupal7 founder root to forget password

The solution for drupal7 founder root to forget password

WBOY
Release: 2016-08-08 09:30:26
Original
997 people have browsed it

Add after drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); in index.php

require_once 'includes/password.inc';
echo user_hash_password('111111');
die();
Copy after login

Run, get the encrypted ciphertext, and then update the pass field of the database table users.

The above introduces the solution for the root password forgotten by the founder of drupal7, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

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