开发者

Zend framework registration + email confirmation

Do you know how to do registration in Zend that require email confirmation? Is Zend has any mechanism 开发者_如何学Cto do it easy? I have found only classes to send emails but I dont know that Zend has special support for email confirmation in registration process?

Thanks,


What you're describing is a business process and as such, is not covered by the framework. You would have to build it yourself.

The basic process would go

  1. Generate a unique token and store it against your user record
  2. Create an email containing a link to the confirmation page. Include the unique token in your link as well as any other identifying fields you require
  3. On the confirmation page, check the token against the one saved with the user record. If they match, complete the registration.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜