Home > Backend Development > PHP Tutorial > phpcms 怎么去掉注册里的邮箱

phpcms 怎么去掉注册里的邮箱

WBOY
Release: 2016-06-23 14:03:58
Original
1074 people have browsed it

要求只提交用户名密码就能注册
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注册成功呢

哥自己解决了!

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template