Re: [PBML] An interesting question
The SSI statement is executed by a web server module on the server, and the
clients' browser, and it is executed on their computers.
You can't even use an SSI statement from a CGI program directly, because a
web server module executes the SSI statements, and another one the CGI
So if you will have something like the following code, it won't work:
<!--#include virtual="/cgi-bin/script.pl" -->
It will just print that code in the web page as a common comment.
I heard that there is a perl module that translates and executes the SSI
statements from a CGI program, but it definitely won't work from a
Teddy's Center: http://teddy.fcc.ro/
----- Original Message -----
From: "kjhseka" <kjhseka@...>
Sent: Saturday, March 29, 2003 7:11 AM
Subject: [PBML] An interesting question
Hello, I have a very interesting question. Is it possible to call an
SSI in a dynamically generated html? In other words, if I write a
For example, consider the following:
code += '<table><tr>';
code += '<td width="50%" align="center">';
code += '<div class="notas">© my copyright enr. all rights
code += '<td width="25%" align="right">';
code += '<font size=1>This site has been accessed by ';
code += '\<\!\-\-\#include virtual="/cgi-bin/counter.pl"\-\-\> ';
code += 'users</font>\';
code += '</tr><tr></table>';
This will not print the number of visitors. In a static html it will.
The script works well, so it doesn't contain error. But, when I
generate html in this way, the perl script doesn't respond.
My question is: I have some error in the code or it is not possible
to generate an SSI call dynamically? There is other way to do that?
Thanks a lot for any answer
Unsubscribing info is here:
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/