如何通过向他们发送确认链接来添加成员? [英] How to add members by sending them a confirmation link ?

查看:102
本文介绍了如何通过向他们发送确认链接来添加成员?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个网站上,当成员填写其详细信息并提交时,会在其中添加成员.

现在,我要做的就是向他们发送一个确认链接到他们的电子邮件ID,当用户单击该链接时,他们就可以成为成员.

请提出建议.

[固定的语法,拼写,txtspk]

I am working on a website that adds members to it when members fill in their details and submit.

Now what I want to do is send them a confirmation link to their email id and when that link is clicked by the user on then they can become members.

Please suggest how to do it.

[fixed grammar, spelling, txtspk]

推荐答案

成员填写其详细信息时.将其详细信息添加到活动字段为false的数据库中.
当用户单击确认链接时.通过查询字符串传递其注册ID,并在加载该页面时更新该用户的活动字段为true.
when member fill their details. Add their details to database with active field false.
When confirmation link is clicked by the user. Pass its registration id by query string and on loading of that page update that user''s active field true.


这篇关于如何通过向他们发送确认链接来添加成员?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆