| | |
Messaging System
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Sep 2009
Posts: 515
Reputation:
Solved Threads: 60
-1
#2 18 Days Ago
browse around you will get thousand of free website design templates
"The discipline of writing something down is the first step towards making it happen."
follow me on twitter
follow me on twitter
-1
#3 18 Days Ago
Hey.
What do you mean by "a message system"?
Like a blog, or like a messenger?
If it's a blog, there are probably hundreds of codes available online for you to choose from. Wordpress being something of a leader among them.
If you mean a messenger system, then PHP alone is probably not the best way to go. Something involving AJAX wold be more promising.
What do you mean by "a message system"?
Like a blog, or like a messenger?
If it's a blog, there are probably hundreds of codes available online for you to choose from. Wordpress being something of a leader among them.
If you mean a messenger system, then PHP alone is probably not the best way to go. Something involving AJAX wold be more promising.
Last edited by Atli; 18 Days Ago at 4:25 am. Reason: Wrong wordpress link.
Please do not ask for help in a PM. Use the forums.
And use [code] tags!
And use [code] tags!
1
#5 17 Days Ago
Why not?
You can use PHP to send emails/store messages from one user to another in a DB. This implementation can be as simple or as complex as you like.
If you're interested in making a simple messaging system. A possible mysql setup would be:
users table
user_id
username
pw
email
msgs table
msg_id
msg_title
msg_body
msg_sender (foreign key on user_id)
msg_recipient (foreign key on user_id)
msg_status (e.g. pending/read/etc)
notify_when_open (find out if your msg has been read)
If you're new to php, you will have some fun creating forms for msgs and validating /cleaning input and then improving the design to incorporate diffrent msb folders, send to multiple recipients etc. This is a really good 'project' to get your teeth into. Ready made scripts may be useful, but if you're starting out, they may cause more confusion than anything, especially if they're object-orientated.
You can use PHP to send emails/store messages from one user to another in a DB. This implementation can be as simple or as complex as you like.
If you're interested in making a simple messaging system. A possible mysql setup would be:
users table
user_id
username
pw
msgs table
msg_id
msg_title
msg_body
msg_sender (foreign key on user_id)
msg_recipient (foreign key on user_id)
msg_status (e.g. pending/read/etc)
notify_when_open (find out if your msg has been read)
If you're new to php, you will have some fun creating forms for msgs and validating /cleaning input and then improving the design to incorporate diffrent msb folders, send to multiple recipients etc. This is a really good 'project' to get your teeth into. Ready made scripts may be useful, but if you're starting out, they may cause more confusion than anything, especially if they're object-orientated.
"...the woods would be a very silent place if no birds sang except for the best"
All opinions count.
All opinions count.
•
•
Join Date: Apr 2009
Posts: 272
Reputation:
Solved Threads: 2
-1
#7 14 Days Ago
this is what i "derived" off of LOL.
http://www.astahost.com/Private-Mess...em-t18247.html
http://www.astahost.com/Private-Mess...em-t18247.html
![]() |
Similar Threads
- Code Snippet: Private Messaging system (PHP)
- designing an operating system (Computer Science)
- Simple Client Server Instant Messaging Java code using UDP datagrams (Java)
- PHP Messaging System (PHP)
- i want messaging system (ASP)
- Email /Messaging System Table design (Database Design)
- Create an email system that hides the email addresses of users. (PHP)
- online messaging system (Java)
- Instant Messaging System (Project) (Java)
Other Threads in the PHP Forum
- Previous Thread: Password encoding/decoding
- Next Thread: Echo URL in PHP - having problems with a href in echo
| Thread Tools | Search this Thread |
# address apache api array autoincrement beginner binary broken cakephp checkbox class clean cms code countingeverycharactersfromastring crack cron curl database date decode dehasher directory display dissertation dynamic echo email error fairness file files folder form forms function functions google href htaccess html image include incode insert ip javascript joomla legislation limit link login mail masterthesis match menu method mlm multiple mysql newsletters oop pageing paypal pdf persist php play protocol query question radio random remote root script search server sessions simple sms soap source space spam sql support! syntax system table tutorial update upload url validator variable video web youtube





