Play a sound on web hit

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
brookstech
-


Joined: 21 Apr 2004
Posts: 3

PostPosted: Fri May 07, 2004 2:58 pm    Post subject: Play a sound on web hit Reply with quote

Can anyone help me find a way to have my system play a sound whenever I get a hit?
Back to top View user's profile Send private message
mcwilliams132
-


Joined: 27 Jul 2003
Posts: 167
Location: Oshkosh, WI

PostPosted: Fri May 07, 2004 6:22 pm    Post subject: Reply with quote

I don't know how you'd go about that...since it'd have to be an interaction between the web server and the system...some trigger would have to happed...

That being said...it'd make no sense to do so since you'd probably hear a ton of "dings" every couple seconds with spiders and bots hitting your site...plus a "HIT" is actualy the action of the browser downloading every item from a web page...10 images on a page = 10 hits for 1 visitor.

I'd just find a way to monitor your web logs...
_________________
::::::::::::::::::::::::::::::::::::::::::::::::::
:: Jon-Paul LeClair
:: http://mcwilliamsworld.com
:: "Lobster sticks to magnet!"
Back to top View user's profile Send private message Visit poster's website
brookstech
-


Joined: 21 Apr 2004
Posts: 3

PostPosted: Fri May 07, 2004 11:24 pm    Post subject: Reply with quote

thanks for the reply.

I think what I may do is try and write a perl script that triggers a wav file on my local system whenever it is called.
Back to top View user's profile Send private message
nquin321
-


Joined: 29 Jan 2004
Posts: 296
Location: Right Behind You

PostPosted: Fri May 07, 2004 11:40 pm    Post subject: Reply with quote

look at this:

http://www.chami.com/counter/classic/
_________________
How many forum members does it takes to change a light bulb?
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sat May 08, 2004 12:23 am    Post subject: Reply with quote

You know, every time your website gets a hit, the Abyss globe spins...
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
wspollack
-


Joined: 28 Dec 2003
Posts: 108

PostPosted: Sat May 08, 2004 5:24 am    Post subject: One way, and another suggestion: Reply with quote

Off hand, one way you can accomplish this (to the nearest second) is:

1) Download and install Log Monitor (free), from:

http://logmon.bitrix.ru/logmon/eng/default.asp

Use the link "http://logmon.bitrix.ru/logmon/files/LOGMON.ZIP" to download it, as the other download link doesn't seem to work.

2) Set it to monitor C:\Program Files\Abyss Web Server\log\access.log (or wherever you installed Abyss). Make sure the "Check for sharing violation..." is UNchecked (in Conditions), set the Options to 1 second, and in the Actions select New to "Play Sound."

Even at one-second intervals, Log Monitor seems to use negligible resources.

Another approach to satisfy curiousity: I wrote a program that sits in the system tray, checks that log file periodically (e.g., I have it set to once a minute), and displays the time of the last entry (optionally excluding your own IP) via a float-over tooltip. You can find my program as "end-of-log-checker" on my (powered by Abyss) page:

http://www.billanddot.com/downloads.htm

Regards,

Bill
Back to top View user's profile Send private message Visit poster's website
brookstech
-


Joined: 21 Apr 2004
Posts: 3

PostPosted: Sat May 08, 2004 5:30 am    Post subject: Reply with quote

Wow!

You guys are great!

Thanks much
Back to top View user's profile Send private message
goose
-


Joined: 17 Sep 2002
Posts: 608
Location: The Land Of OZ! come here toto!

PostPosted: Sun May 09, 2004 5:30 pm    Post subject: Reply with quote

i did find a script that did just that at hotscripts....look under web monitoring.
_________________
living in an armish paradise.....no gates here!

mawuahahaha :)
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group