警报哔声新用户来了

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.

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

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