Jump to content

private message script


eko_wardoyo

Recommended Posts

You will need to state what server-side language and database you are using. It shouldn't be too hard to create one.1. Make sure you have users that can login to read/write messages.2. Insert data (who wrote it, who they are sending it to, subject, body) when they submit what they wrote.3. Select only the data that was intended for them to read.4. Add extra features such as deleting, etc.

Link to comment
Share on other sites

You'll have to have some way to store these messages on your server. That being said, you'll need to account for every user having a designated write space there particular to who they are. Secondly, you're going to have to have some way to manage all this, meaning a database of a sort, and within this, the message will have to be rigidly specific to which user PMs another user, else, others might infringe and gain open access to it. What mma_fighter123 said is very true in application to the basics, but you're going to have to deal with data and that will require organization. Something like SQL may be the most common, as MySQL does go nicely in hand with PHP. But then again if you want to really conform your data, each user could be given his or her own XML file, and you could parse relevancies from that.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...