Home > php教程 > php手册 > 关于程序修改密码同步ucenter问题

关于程序修改密码同步ucenter问题

WBOY
Release: 2016-06-06 20:09:04
Original
2000 people have browsed it

经过解剖Discuz程序, 发现其实 调用 ?uc_user_edit 接口就行了. 根据他文档说明: 可以通过忽略密码更新用户信息, uc_user_edit(addslashes($rel['users']['username']), $pass, $pass, addslashes($rel['users']['email']), 1, 0); 如上即可,?username : 用

经过解剖Discuz程序, 发现其实 调用 ?uc_user_edit 接口就行了.

根据他文档说明:

1可以通过忽略密码更新用户信息,

uc_user_edit(addslashes($rel['users']['username']), $pass, $pass, addslashes($rel['users']['email']), 1, 0);
Copy after login

如上即可,?username : 用户昵称,?pass: 新密码,?email: 邮箱

具体的实现过程大家去想把. 也可以和我讨论.

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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template