Discuz! Ucenter X2.5忘记创始人密码

创建下面的php文件

<?php
$ucfounderpw = '123123';
$ucsalt = rand(100000,999999);
$ucfounderpw = md5(md5($ucfounderpw).$ucsalt);
echo $ucfounderpw.'<br />'.$ucsalt;

生成的ucfounderpw和ucsalt

替换

bbs\uc_server\data\config.inc.php

文件里的参数


 

本文出自 “php阿超” 博客,转载请与作者联系!

你可能感兴趣的:(ucenter,Discuz2.5x)