| [reply] [d/l] |
| [reply] |
You seem to be under a missaprehension. Perl, as a cgi, is only invoked when the browser makes a request to a server and that server determines that request to be handled by a cgi script. The only way a perl script will be run is if you configure the server to execute it in response to some query. | [reply] |
Hi rtlm,
How about using exec?
<!--#exec cgi="/cgi-bin/counter.cgi" -->
Do read the following for its usage though (source->http://www.tech.irt.org/articles/js099/):
I have saved this one (exec) for last, since it is probably the most powerful but also the most dangerous. With it, the output of a CGI script may be included where the SSI is in the HTML page. The CGI script may do just about anything - it could be a counter, perhaps, which updates your counter file and displays the number of visitors on the page. It takes two different parameters, cmd and cgi.
| [reply] [d/l] |