View previous topic :: View next topic |
Author |
Message |
John Mitchell -
Joined: 21 Apr 2005 Posts: 8 Location: England UK
|
Posted: Thu Apr 21, 2005 8:06 pm Post subject: visual desktop notification of site access |
|
|
Hello all,
I am a new home server. I am not new to computing though. I would like to know if anybody has a way to notify the server (i.e. ME) either visually or audibly (or both) when my pages are visited? To clarify more clearly what I mean by this. You notice the way your Abyss icon changes when you view your own pages online? That's fine except you know to look at it when you check to see if any data is being updated through the server, the icon gains a green centre, etc. The problem is, if you are not looking at the icon you don't know if someone is visiting your web site and you don't know if noone ever looks at your site either.
So, basically I would like a pop-up type notifier similar to the type used by messenger programs like ICQ Yahoo etc. OK, if my site becomes so popular that the icon notification is constantly popping up, I could regulate the number of hits needed to activate it. Please do respond to this question. I am working on it, but somebody may have already done the work for me. . . Tah I am John my site is mitchell-uk.sytes.net and I have a guestbook feel free to use it to communicate. _________________ Visit me, I'm alone here. Even my dog ran away! |
|
Back to top |
 |
 |
the_clown -
Joined: 23 Jan 2005 Posts: 2 Location: US
|
Posted: Thu Apr 21, 2005 8:56 pm Post subject: |
|
|
End of Log Checker
http://www.billanddot.com/downloads.htm
This program should work for you.
Last edited by the_clown on Thu Apr 21, 2005 10:14 pm; edited 1 time in total |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Thu Apr 21, 2005 9:30 pm Post subject: |
|
|
If I understand you correctly, then your looking for w32api.dll or win32std.dll.
If you install win32std then run the script at the end of this message as an example and configure it yourself. You can find documentation on win32std.dll here.
A very simple example...
Code: | <?php
$soundtype = "1";
dl("php_win32std.dll");
win_beep($soundtype);
usleep(250000);
win_beep($soundtype);
usleep(250000);
win_beep($soundtype);
usleep(134000);
win_beep($soundtype);
usleep(134000);
win_beep($soundtype);
usleep(320000);
win_beep($soundtype);
usleep(134000);
win_beep($soundtype);
usleep(134000);
win_beep($soundtype);
usleep(134000);
win_beep($soundtype);
usleep(300000);
win_beep($soundtype);
usleep(134000);
win_beep($soundtype);
usleep(134000);
?> |
_________________
 |
|
Back to top |
 |
 |
john76 -
Joined: 16 Jun 2005 Posts: 22 Location: Middlesbrough
|
Posted: Mon Aug 01, 2005 11:29 am Post subject: Simple way! |
|
|
I use a file checker to notify of any activity. Set it to scan your log file, and when someone visits, it notifies because the logfile size has changed! Or..you could use abyssunderground's stats script to create a log for a single page, such as your index page, and set the file checker to scan the log output.
All the files are available from my software downloads page :)
John |
|
Back to top |
|
 |
|