[Xitami] instant notification when a page is visited ?

Marc Doigny xitami@lists.xitami.org
Wed, 04 Dec 2002 11:34:28 +0100


Don't works under windows 98.
The notepad editor works for files up to 50kB (very small for a log file), 
becauses it opens the file for reading only.
Workpad fails to open the file becauses it tries to open it for R/W (but 
the file is already open for writing by Xitami).

Solution: add a small script on your page (include it anywhere in your page).
<script src=http://myserver/cgi-bin/popup.exe></script>
popup.exe is a simple program that displays anything you want on your 
screen. It produces no output to the html page.
Xitami starts all cgi programs with window hidden, so your popup.exe has to 
start another program (let's call it popup1.exe) with the window visible. 
This second program has to be started asynchronously, so the calling 
program (popup.exe) does not have to wait for the termination of 
popup1.exe, but can terminate directly. In that way, you can have more than 
one instance of popup1.exe running.

Don't know if you can use perl to display windows messages, i'm using 
powerbasic.

Marc



At 10:51 4/12/02, you wrote:
>Hi there,
>just open your access.log file in any texteditor. when someone accesses
>your site, the file will be changed and the editor notifies you about that.
>Since it is access.log you can also instantly see which resource is being
>accessed and by whom.
>tony
>At 00:07 04.12.2002 -0500, you wrote:
>
> >Hi all,
> >Xitami on win98/ActivePerl here.
> >
> >Is there a simple way for a newbie(me) to instantly pop a local message on
> >the servers screen when a visitor clicks a link or loads a page so I know
> >they're sitting on a specific page ?
> >
> >thanks, mike
><


--::Mailserver Verfaillie Bauwens::-- contact [postmaster@verfaillie.com]
Alle mails gecontroleerd op virussen. Virusdefinities dagelijks aangepast.