如何修改 OpenInviter 以检查这些联系人是否已在数据库中(并且已被邀请?)
我已经成功运行了 OpenInviter(但不是针对 facebook 的?)
但我不想向已有的成员发送邀请或发送重复的邀请(但首先为我解决这两个问题)。
如何在 OpenInviter 上防止这种情况发生?通过查看代码。
你尝试过吗?
I have OpenInviter running successfully (not for facebook though?)
But I'd like not to send to already members invites o send duplicated invites (but first solves both for me).
How can I prevent that on OpenInviter? By looking at the code.
Have you tried?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须构建一个数据库表并将收到邀请的每个电子邮件地址添加到该表中。在添加新联系人的地址时,您检查表是否已经存在,如果是,则跳过它,如果不存在,则添加它:) 非常简单。
如果您不了解 PHP/MySQL,我建议您查看 http://www. tizag.com/mysqlTutorial/ 因为它们非常容易理解。
you have to build a database table and add every email address that receives an invite to the table. While adding addresses from new contacts, you check the table if it's already existing, if yes, skip it, if no, add it :) So dead simple.
If you don't know any PHP/MySQL i would suggest you to look at the tutorials of http://www.tizag.com/mysqlTutorial/ since they are pretty easy to understand.