Roger Grosswiler wrote: > Hi, > > i just wrote a very small perl-file, which opens a file, reads the > content, adds a 1 and closes it. It's a veeeeeeeeeery simple > hitcounter. (counter.pl, code see below) > > I would like now to print this in an existing html-sheet, say, when > opening index.html, this program should be executed and the content > of my counter-file (counter.cnt) should be printed in a visitors > browser. Index.html is already existing. > > Can you please help me?
Generally, you would do this using a technique called "Server Side Includes". If you're using Apache, you can find a good explanation at: http://httpd.apache.org/docs/howto/ssi.html -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>