Facebook Like Chat Script using PHP/SQL Server


Choose user to chat with. Sent them instant chat messages just like on Facebook. Play notification sound on new chat message. attach Chat database from the db folder to sql server via the SSMS

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.


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 bybashar96on Fri, 07/11/2014 - 06:55

how edit database root and password and dbname ?
Submitted bybashar96on Tue, 07/15/2014 - 00:27

I've amended public $usr = "root"; public $database = "localhost"; public $uid = "sa"; public $pwd = "6666660"; public $dbnm = "example"; public $connectionInfo = null; public $query = null; public $serverName = ".\SQL"; public $params1 = array(); public $cursor1 = array("Scrollable" => SQLSRV_CURSOR_KEYSET); Is there anything else I need to modify it?
Submitted byamitahuj (not verified)on Fri, 07/18/2014 - 20:15

its not getting sqlsrv_connect() function as well as 'SQLSRV_CURSOR_KEYSET
Submitted byClown (not verified)on Fri, 12/15/2017 - 16:37

Why there isn't a well documented installation process, it is taking too much time to implement, will drop using it. thank you

Add new comment