javascript - Other users receive messages -
so not error. don't know how this. created chat application html/js/php , storing messages each chat in mysql database. using php script receive messages database every 0.5 seconds , printing them onto chat file. wanted know better way receive message without having reload or wait. maybe kind of notification if person sent message other users of chat receive exact message or socket thing idk. appreciated.
i suggest using websockets. check out - https://github.com/flynsarmy/phpwebsocket-chat
Comments
Post a Comment