![](/img/trans.png)
[英]what's the best way to make sure user can't edit other users data in codeigniter?
[英]What's the best way to build a user to user messaging feature in codeigniter?
例如像发电子邮件但在网站上。
我已经用谷歌搜索,似乎找不到任何东西。
从根本上讲,并遵循电子邮件的类比,您可以将消息存储在数据库中。 模式示例包括
message_id, sender_id, recipient_idS, subject, body, date_sent, read_status
您将有一个用户表,这是发件人和收件人ID的来源。
我也用Google搜索,发现它可以发送您的信息: http : //www.pixel2life.com/publish/tutorials/608/simple_private_messaging_system/
您正在建立什么样的网站? 用户消息传递在那里有什么目的? 这些信息可能会影响人们的回答方式。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.