最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
dedecms 管理员中文帐号不能登录处理办法
时间:2022-06-25 16:44:35 编辑:袖梨 来源:一聚教程网
dedecms 管理员中文帐号不能登录处理办法
打开include/userlogin.class.php教程文件,搜索 checkuser如下
function checkuser($username,$userpwd)
{
global $dsql;
//只允许用户名和密码用0-9,a-z,a-z,'@','_','.','-'这些字符
//$this->username = ereg_replace("[^0-9a-za-z_@!.-]",'',$username);
$this->username = $username;
把$this->username = ereg_replace("[^0-9a-za-z_@!.-]",'',$username);替换成 $this->username = $username;就可以了。
相关文章
- 阴阳师SSR孔雀明王强度介绍 05-20
- 明日方舟CW 05-20
- bitkeep官网下载app 05-20
- Ordi币安卓版官方登录版 05-20
- 《金铲铲之战》怒翼龙阵容装备搭配 05-20
- 欧易trust钱包安卓版2024 05-20