If you forget your admin login/password for Dolphin site, then follow the procedure below to restore it...

You should empty the Admins table and create a new admin record there. The following script will allow you to do that. Place the script in the main directory of your Dolphin site, name it so its name would end with .php and run it in your browser, for example http://yoursite.com/admin_restore.php. Replace'''ADMIN_NAME''' and '''ADMIN_PASSWORD''' with the real values.

db_res("TRUNCATE TABLE `Admins`");
db_res("INSERT INTO `Admins` SET `Name`='ADMIN_NAME', `Password`=MD5('ADMIN_PASSWORD')");
echo "<h2>Success</h2>";

Was this answer helpful? 3 Users Found This Useful (7 Votes)