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

The solution for drupal7 founder root to forget password

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-08 09:30:26
Original
1049 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:
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
Latest Issues
There is no bootstrap custom video tutorial
From 1970-01-01 08:00:00
0
0
0
Laravel: Problem using bootstrap locally
From 1970-01-01 08:00:00
0
0
0
html5 - Problem with bootstrap modifying style
From 1970-01-01 08:00:00
0
0
0
Introducing bootstrap is invalid
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template