热搜:NVER node 开发 php

phpcms 怎么去掉注册里的邮箱

2024-09-06 22:00:02
phpcms 怎么去掉注册里的邮箱

要求只提交用户名密码就能注册
public function ps_member_register($username, $password, $isemail=0, $regip='', $random='') {
                if(!$this->_is_email($email)) {
                        return -3;
                }
                 
                return $this->_ps_send('register', array('username'=>$username, 'password'=>$password, 'regip'=>$regip, 'random'=>$random));
        }
看了下主要是上面这段phpsso里面函数生成uid的验证通不过,我找不到_ps_send函数的位置


回复讨论(解决方案)

你的开发环境支持直接跳转到函数定义处吗?

不支持直接在项目文件夹里递归搜索_ps_send

我是根据注册模块的代码顺藤摸瓜找到的,到了ps_send我就摸不下去了,或者告诉我有什么办法能只用id pw注册成功呢

你的开发环境支持直接跳转到函数定义处吗?

不支持直接在项目文件夹里递归搜索_ps_send
我是根据注册模块的代码顺藤摸瓜找到的,到了ps_send我就摸不下去了,或者告诉我有什么办法能只用id pw注册成功呢

哥自己解决了!