E
exxos
Guest
I have a type of online message board. Any user can post to the board, and the board is displayed on people's screens and refreshes every 10 seconds or so. It all works great, though I want the displayed page to play a sound only when the data changed.
Playing a sound maybe easy, but as there is multiple users (they do not log in either) I can't think of a way to play the sound once on each persons board.
Only possible way, would be to monitor the posting board, and have the PHP script save a "issue sound" cookie on each persons PC. So the script will check for this "flag", play the sound, then erase the "flag" cookie.
Can anyone help how to set this type of thing up ? thanks.
Playing a sound maybe easy, but as there is multiple users (they do not log in either) I can't think of a way to play the sound once on each persons board.
Only possible way, would be to monitor the posting board, and have the PHP script save a "issue sound" cookie on each persons PC. So the script will check for this "flag", play the sound, then erase the "flag" cookie.
Can anyone help how to set this type of thing up ? thanks.