MU-VMS Archives

November 1996

MU-VMS@LISTSERV.MIAMIOH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Kent Covert <[log in to unmask]>
Reply To:
Miami University OpenVMS <[log in to unmask]>
Date:
Fri, 15 Nov 1996 08:08:33 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
In article <[log in to unmask]>, "George Greer" <
[log in to unmask]> writes:
> Chris Carman <[log in to unmask]> wrote in article
>> Just wanted to ask if the ability to do <!-- #exec file="script.pl" -->
> within
>> a web site is ever going to be implemented on the OpenVMS.  We already
> have
>> <!-- #include file="filename.ext" --> and <!-- #echo ... -->, and I'd
> really
>> like to run random scripts within my web pages, especially "You are the
> nth
>> person to access this site today!".  Thanks!
>
> For graphical counter I'd recommend:
> http://www.fccc.edu/users/muquit/Count.html
>
> For a perl script to use if you do get the exec:
> #!/usr/bin/perl
> open (COUNT, "countfile");   # open "countf" counter file
> $counter = <COUNT>;          # input value from file
> close (COUNT);               # close file (primarily to "re-set")
> open (COUNT, ">countfile");  # open "countf" for 'output'
> print COUNT +($counter+1);   # increment value of counter by one & write
> close (COUNT);               # close file
> print $counter;              # put the value on the page
 
Actually, this is already available on the MiaVX1 system as a pre-processor
directive.  Check out the information about access counters at:
 
    http://www.muohio.edu/cwis/cwis/servers/www/openvms/
 
--
                                     Kent Covert, Software Coordinator
                                     Miami Computing and Information Services
                                     Miami University, Oxford, OH
                                     [log in to unmask]

ATOM RSS1 RSS2