Skip to main content

Simple Messaging System in PHP


This is a simple messaging system in php. Easy to embed in your websites.

Create database named 'message' and import pm.sql and user.sql.

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byGustav Marju (not verified)on Sat, 11/24/2012 - 17:16

Thank you!

Submitted byOwolabi (not verified)on Wed, 11/20/2013 - 16:23

Sir, I'm having problem with this code, displayed an error :
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\wamp\www\pm\new_pm.php on line 44

The Recipient does not exists.

Submitted byGermanoon Mon, 12/02/2013 - 21:23

The system is has got very few functionalities,not convinient at all

Submitted bydream15 (not verified)on Sun, 02/08/2015 - 03:08

profile.php The user ID is not defined.

Submitted byeric ropars (not verified)on Sat, 06/20/2015 - 12:42

hi there i am a complete noob as far as php is concerned. i have a messaginging system on my site but its not great would it be possible to incorporate yours into my site? the users would have to be taken from existing users and the table used for storing the messages should be the one actually used please let me know if you can help me

Add new comment

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.