Posted by Tom
2014-06-09
Hi Benny,
If you lost the administrator's password, you can reset it to "password" To do so, copy the code below, save it as reset.php in the web folder.
If you lost the administrator's password, you can reset it to "password" To do so, copy the code below, save it as reset.php in the web folder.
<?phpOpen web/reset.php in the browser. The page will display "Done!" Now the administrator's password is password.
include("config/config.db.inc.php");
$link = mysqli_connect(DB_HOSTNAME,DB_USERNAME,DB_PASSWORD,DB_DATABASE);
$link->query("UPDATE tbl_staff SET password='password' WHERE staff_id=1001");
?>Done!
how to recovery forgot pasword
to login as staff
Thanks
benny