果忘记建站之星后台管理密码时,可以按如下两种方法找回后台管理密码:
1。通过运行文件来重置密码
下载重置密码文件resetpassword.rar,解压后上传到网站根目录下。再运行该文件,如:http://域名.com/resetpassword.php。
如果您后台用户名不是admin,需要把restpassword.php里的管理员用户名admin改为真正的用户名。如:
$sql=”REPLACE INTO “.Config::$tbl_prefix.users. ” VALUES(‘1′,’admin’,’7c4a8d09ca3762af61e59520943dc26494f8941b’,’Administrator’, ‘webmaster@example.com’,’1286873628′,’118.119.250.14′,’0′,”,’1′,'{admin}’,’1′,”);”; |
换成:
$sql=”REPLACE INTO “.Config::$tbl_prefix.users. ” VALUES(‘1’,’你的管理员账号 ‘,’7c4a8d09ca3762af61e59520943dc26494f8941b’, ‘Administrator’,’webmaster@example.com’,’1286873628′,’118.119.250.14′,’0′,”,’1′,'{admin}’,’1′,”);”; |
2。连接到数据库并更改密码
可以通过phpmyadmin控制台,打开users表中的password字段,把管理员的password字段值设置为:7c4a8d09ca3762af61e59520943dc26494f8941b并保存。这样就可以使用123456作为密码登录后台了。
Thanks a lot! I love this log.
This is cysratl clear. Thanks for taking the time!
I think you’ve just captured the anwser perfectly
My wife and i were so delighted John managed to deal with his investigation using the precious recommendations he gained when using the web site. It is now and again perplexing just to possibly be giving for free secrets and techniques which other people have been trying to sell. We recognize we have got you to thank for this. The type of explanations you’ve made, the simple site menu, the friendships you will help to create – it is mostly excellent, and it’s aiding our son and us reason why the topic is thrilling, and that is highly fundamental. Many thanks for everything!