Jump to content

private message script


eko_wardoyo
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...