| | |
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: 521
Reputation:
Solved Threads: 61
-1
#2 22 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 22 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; 22 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 21 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.
F'enw i yw Mr. Blaidd. Byddwch yn ofalus - dwi'n cnoi.
All opinions count.
F'enw i yw Mr. Blaidd. Byddwch yn ofalus - dwi'n cnoi.
•
•
Join Date: Apr 2009
Posts: 281
Reputation:
Solved Threads: 2
-1
#7 18 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 |
.htaccess alerts apache api archive array autocomplete beginner binary broken cakephp checkbox class cms code convert cron curl database dataentry date display duplicates dynamic echo email emptydisplayvalue error execute explodefunction file files firstoptioninphpdroplist folder form forms function functions google hack href htaccess html htmlspecialchars image include insert ip javasciptvalidation javascript joomla keywords limit link login mail matching menu methods mlm multiple mysql network object oop paypal pdf php problem query radio random recursion recursive redirect remote script search securephp server sessions shot sms source space sql subscription syntax system table tutorial tutorials update upload url validator variable video web youtube





