views:

65

answers:

2

hello...

i am doing private chat concept. i want to alert beep sound when new user comes in. how to do? i am displaying every thing when new user comes in user details will comes at admin side. but at the same i want to alert beep sound when new user comes.

+1  A: 

In *unix you can run an simple command in shell < http://br2.php.net/exec > like this:

xmms file.mp3

or redirect some file to /dev/interface_of_sound

Felipe Cardoso Martins
I doubt the sound is supposed to play on the server...
deceze
i am not using unix....i am using windows
muralikalpana
+2  A: 

You could look into the new <audio /> tag for html5 and then provide a fallback for non-html5 browsers.

Ben Rowe
i have no idea about this. plz give me any reference
muralikalpana
http://html5doctor.com/native-audio-in-the-browser/
Ben Rowe