| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| brookstech -
 
 
 Joined: 21 Apr 2004
 Posts: 3
 
 
 | 
			
				|  Posted: Fri May 07, 2004 2:58 pm    Post subject: Play a sound on web hit |   |  
				| 
 |  
				| Can anyone help me find a way to have my system play a sound whenever I get a hit? |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| mcwilliams132 -
 
 
 Joined: 27 Jul 2003
 Posts: 167
 Location: Oshkosh, WI
 
 | 
			
				|  Posted: Fri May 07, 2004 6:22 pm    Post subject: |   |  
				| 
 |  
				| 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 |       | 
	
		|  | 
	
		| brookstech -
 
 
 Joined: 21 Apr 2004
 Posts: 3
 
 
 | 
			
				|  Posted: Fri May 07, 2004 11:24 pm    Post subject: |   |  
				| 
 |  
				| 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 |     | 
	
		|  | 
	
		| nquin321 -
 
 
 Joined: 29 Jan 2004
 Posts: 296
 Location: Right Behind You
 
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| iNaNimAtE -
 
 
 Joined: 05 Nov 2003
 Posts: 2381
 Location: Everywhere you're not.
 
 | 
			
				|  Posted: Sat May 08, 2004 12:23 am    Post subject: |   |  
				| 
 |  
				| You know, every time your website gets a hit, the Abyss globe spins... _________________
 Bienvenidos!
 |  | 
	
		| Back to top |                | 
	
		|  | 
	
		| wspollack -
 
 
 Joined: 28 Dec 2003
 Posts: 108
 
 
 | 
			
				|  Posted: Sat May 08, 2004 5:24 am    Post subject: One way, and another suggestion: |   |  
				| 
 |  
				| 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 |       | 
	
		|  | 
	
		| brookstech -
 
 
 Joined: 21 Apr 2004
 Posts: 3
 
 
 | 
			
				|  Posted: Sat May 08, 2004 5:30 am    Post subject: |   |  
				| 
 |  
				| Wow! 
 You guys are great!
 
 Thanks much
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| goose -
 
 
 Joined: 17 Sep 2002
 Posts: 608
 Location: The Land Of OZ! come here toto!
 
 | 
			
				|  Posted: Sun May 09, 2004 5:30 pm    Post subject: |   |  
				| 
 |  
				| 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 |     | 
	
		|  | 
	
		|  |