Sqlite+php+ajax Instant chat System (Ajax long Connection) one

Source: Internet
Author: User
Tags sqlite

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.