Home  >  Article  >  Backend Development  >  phpcms 如何去掉注册里的邮箱

phpcms 如何去掉注册里的邮箱

WBOY
WBOYOriginal
2016-06-13 12:50:25781browse

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
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn