Say a bit of nonsense: today lol when met a pit goods, technology is really good, to the back, I said a sentence, the guy actually said let me beg him, he played. I called him a jerk. I just hang up and watch them lose. Sometimes, see others want to pit, I first to do strong!
Idea: SQLite: Database data, used to save chat record, PHP link database, accept Ajax transfer data, return processing results; Ajax asynchronously get chat data, update the chat record asynchronously;
Please refer to the previous blog for the database class you are using.
A. Login
<?php session_start ();? ><! DOCTYPE html>
<script src= "My.js" ></script><script src= "Http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js" > </script><script src= "Http://cdn.bootcss.com/bootstrap/3.3.2/js/bootstrap.min.js" ></script> </body>
Sqlite+php+ajax Instant chat System (Ajax long Connection) one