Friday 1 May 2015

PHP,AJAX facebook model multi user chat system

Facebook model chat box with the following features
1)Online/Offline status
2)Unread message view
3)Multi user chat
4)Online/Offline button




Chat window


Download 


Pages included

PHP files

1) connection.php
    Connect your database here

3) index.php
    Login page

3) chat.php
  chatting home page

4) getlist.php
    Get name off all users through ajax

5) send_save_chat.php
    Saving messages to database

6) update.php
    Update user session status

7) view.php
    View user messages

Js files

1) popup.php
    Ajax content to create popup box for chat

2) refresh.js
  Refresh content of chat window and name list

3) sendchat.js
    Send chat to database


Download 
Php ajax chat