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:
George Greer <[log in to unmask]>
Reply To:
Miami University OpenVMS <[log in to unmask]>
Date:
Thu, 14 Nov 1996 22:55:49 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
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
 
Enjoy
 
-George
[log in to unmask]

ATOM RSS1 RSS2