Implementation of online chat room using JS? Or use PHP?
吕晨曦
吕晨曦 2020-05-14 09:30:39
0
6
1343

I want to implement the following instant chat function. Since chat history does not need to be saved, does that mean PHP is no longer needed? Just use JS directly?

吕晨曦
吕晨曦

reply all(2)
Storms

Temporary chat records do not need to be stored in the database, and there is no need to use PHP language.

  • reply Sorry, the question is a bit wrong. I need to store it in the database. Do you have any code on hand that I can borrow to learn from?
    吕晨曦 author 2020-05-14 11:40:30
  • reply Do I need to log in and register to chat? If you don’t need it, there is no need to save it, and there is no key name to save it! If you need to log in and register, create two tables, a good table and a chat record table!
    Storms author 2020-05-14 13:09:52
  • reply OK Thanks
    吕晨曦 author 2020-05-14 21:13:19
哈比

You can try Baidu Shangqiao, which is also a chat tool

  • reply It's a web chat, not for customer service. Need to record the chat history
    吕晨曦 author 2020-05-14 11:41:28
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template