Posted by Benny
2014-06-08

hi tom
how to recovery forgot pasword
to login as staff


Thanks

benny
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.
<?php 
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!
Open web/reset.php in the browser. The page will display "Done!" Now the administrator's password is password.