<?php
/*你的数据库效劳器地址,普通放弃默许*/
$servername = "localhost:3306";
/*数据库用户名*/
$phpMyadminUser = "root";
/*数据库明码*/
$phpMyadminKey = "veryhuo";
/*数据库称号*/
$phpMyadminName = "test";
/*wordpress数据表格前缀*/
$QZ = "wp_";
/*你要设置的wordpress新明码*/
$NewKey = "veryhuo";
/*你要设置新明码的用户名*/
$wordpress_User = "veryhuo";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>">
<html xmlns="<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>wordpress明码找回工具_Veryhuo.COM</title>
</head>
<body>
<?php
error_reporting(0);
if(!mysql_connect($servername,$phpMyadminUser,$phpMyadminKey))
{
echo "对不起,数据库链接出错。
";
}
else
{
echo "数据库链接胜利。
";
mysql_select_db($phpMyadminName,mysql_connect($servername,$phpMyadminUser,$phpMyadminKey));
if (!mysql_query("update ".$QZ."users set user_pass='".md5($NewKey)."' where user_login='".$wordpress_User."'"))
{
echo "对不起,修正明码失败。";
}
else
{
echo "修正明码胜利。";
}
}
?>
</body>
</html>
以上就是安达网络工作室关于《Wordpress忘记后台密码怎么办 轻松找回WP密码的方法》的一些看法。更多内容请查看本栏目更多内容!
但在制造主题的时分,每个用户的需要都不同,而且你也不可能在文章下方增加太多的内容。因而让用户能自定义...
函数esc_js()(过滤 Html 内嵌 JS) 参数 $text (字符串)(必需)要过滤的字符串。 默许值:None 前往值 ...
1、在仪表盘增加子菜单: add_submenu_page( 'index.php', … ); 2、在文章处增加子菜单: add_submenu...
WordPress根本模板文件 一套完好的WordPress模板应至多具备如下文件: style.css : CSS(款式表)文件 index....
随着搜寻引擎大兴, 陈列在前的网站引入大量流量. 无论是搜寻页面的广告还是查进去的后果, 与搜寻者的指标婚...
4月更新过文章,文章ID停留在146,5月忙于考试,文章一篇都没写,后果6月前几天写文章的时分,ID从146间接跳...