Reset the Drupal Admin / User Password
Reset the Drupal Admin Password easily by using the below code. Create a file ‘passwordgenerate.php’ in root folder of drupal and paste the below code and execute the code. I will generates password, Just Past it into the mysql users database who is unable to login. [codesyntax lang=”php” lines=”no”] < ?php define(‘DRUPAL_ROOT’, getcwd()); include […]