Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Audio Monitoring Server Traffic |
|
Author |
|
ArtM
Joined: 23 Feb 2006 Posts: 59 Location: Bedford NS Canada
|
Posted: Sat 11 Mar '06 4:55 Post subject: Audio Monitoring Server Traffic |
|
|
I have a number of relatively low traffic 'vanity' domains for my kids etc and I would like to hear when there is traffic on a site. That is a WAV file I set up identified with the site is played when someone hits it.
Anyone know of a poor man's monitoring program to do this - or suggest a technique to make it happen? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sat 11 Mar '06 20:00 Post subject: |
|
|
With win32std you can play a sound onto the server
define in the php.ini the auto_prepend_file or auto_append_file
in the file
Code: |
<?php
win_play_wav("C:\Winnt\Media\start.wav");
?>
|
|
|
Back to top |
|
ArtM
Joined: 23 Feb 2006 Posts: 59 Location: Bedford NS Canada
|
Posted: Sun 12 Mar '06 0:29 Post subject: |
|
|
James Blond wrote: | With win32std you can play a sound onto the server
define in the php.ini the auto_prepend_file or auto_append_file
in the file
Code: |
<?php
win_play_wav("C:\Winnt\Media\start.wav");
?>
|
|
Hey James - that works pretty good!
Took me a few minutes to track down the Win32Std.dll extension at
http://pecl4win.php.net/list.php/5_1
and activate the extension in php.ini
After restarting Apache, works great. Thank you. |
|
Back to top |
|
|
|
|
|
|