php speaking to com...
| From: | Heath Boutwell | Date: | Thu, 14 Sep 2000 08:21:19 +0000 |
| Subject: | php speaking to com... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16737@lists.php.net to get a copy of this message | ||
Is the following scenario practical WITHOUT using a
.mid, .wav, .mp3 file from the server? In other
words, loading a player on the client side is not an
option.
<?php
## Sound an alert in MS Windows to alert whoever is
## in the room or at the console
## To be called from an autorefresh page in an
## unfocused browser window
if ($some_flag) make_his_computer_ding();
?>
The 'DING!' is an audible alert/flag to be called if
the results of a db query match a specific set of
conditions.
Specifically, I guess what needs to happen is to use
Win native sound API or whatever to invoke a simple
1/2 second 'DING' (no loading of a server side sound
file or client side player).
Many thanks
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/