Implementation of online chat room using JS? Or use PHP?
吕晨曦2020-05-14 09:30:39
0
6
1370
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?
replyDo 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!
Temporary chat records do not need to be stored in the database, and there is no need to use PHP language.
You can try Baidu Shangqiao, which is also a chat tool