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]