PHP online Chat
PHP to implement online chat function for help
PHP to implement the online chat function for help eager!
Reply to discussion (solution)
http://tutorialzine.com/2010/10/ajax-web-chat-php-mysql/
Somebody, come on!
Comet or WebSocket
The principle is to constantly request the brush data. JS Ajax
Baidu Search ... Ajax
It's simple! Is the usual form submitted below the submission shown above and then JS set a few seconds to automatically refresh once
http://www.phptogether.com/archives/13413
Comet or WebSocket +
1, Ajax constantly refreshed. Simple and easy to get started. Large consumption of server resources
2, Comet is an Ajax long connection, under the Baidu know, now the web chat this piece is this. Strong browser compatibility, difficult to get started
3, WebSocket is HTML technology, low version IE does not support. is the direction of the future.
Suggest the latter two kinds!
WebSocket is HTML5 technology, low version IE is not supported. is the direction of the future.
The upstairs was wrongly sent. I don't have permission to edit