Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在 yii 框架中以一种形式创建登录/注册
有没有人在一个单一的表单中看到任何登录/注册的好例子,用于现有用户登录和新成员开始注册过程?
谢谢 !!!
是的,
创建您的登录名和注册文本字段....创建您的规则,例如 if username and password == null => run the register function... else => run the login function