Skip to main content

Simple Chat System

Language


A Simple Chat System created using PHP/MySQLi and AJAX/jQuery. It features a chat room that is locked by a password depending on the creator of the room. The chats in the room is shown using AJAX/jQuery.

If you have any questions, suggestion or comments with regard to the system, feel free to comment below or send me a message.

Hope you will learn a lot from this simple system. Happy Coding :)

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 SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

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.

Comments

Submitted bytofunon Sat, 10/14/2017 - 15:51

chat cannot real time, must be refresh if see next chat. how to setting auto refresh or real time chat?

Submitted byVansh (not verified)on Sun, 01/21/2018 - 01:11

it would have been best to see whos logged on

Submitted byridhul (not verified)on Sat, 09/08/2018 - 03:12

chat cannot real time, must be refresh if see next chat. how to setting auto refresh or real time chat?

$(document).ready(function(){
setInterval(displayChat,1000);
});

Paste this code in chatroom.php both user and admin folder

Add new comment

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