Home  >  Article  >  Backend Development  >  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
WBOYOriginal
2016-07-13 10:08:56840browse

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();
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_...
Statement:
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