| | |
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: 525
Reputation:
Solved Threads: 61
-1
#2 26 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 26 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; 26 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!
0
#5 26 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 - unless you're a serial downvoter.
F'enw i yw Mr. Blaidd. Byddwch yn ofalus - dwi'n cnoi.
All opinions count - unless you're a serial downvoter.
F'enw i yw Mr. Blaidd. Byddwch yn ofalus - dwi'n cnoi.
•
•
Join Date: Apr 2009
Posts: 281
Reputation:
Solved Threads: 2
-1
#7 22 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 |
apache api array beginner binary broken cache cakephp checkbox class cms code confirm cron curl customizableitems database date display dynamic echo email error external fcc file files folder form forms forum freelancing function functions google header headmethod howtowriteathesis href htaccess html iframe image include insert ip javascript joomla limit link login mail malfunction menu method mlm mod_rewrite multiple mysql neutrality oop pageing pagerank paypal pdf php phpmysql play problem query question radio random recursion remote root script search select server sessions sms soap source space sql support! syntax system table template tutorial update upload url validator variable video web youtube





