Include file to CGI output using Server Side Includes -
i trying include file using ssi output of cgi script. proper way of doing that? tried cgi:ssi module code , file wasn’t included.
use cgi::ssi; $ssi = cgi::ssi->new(); $ssi->include(virtual => 'logo.inc');
or should use apache::ssi? if so, simplest way of doing that?
thanks!
is filename/path correct? stated, if script in /cgi-bin/ logo.inc must in /cgi-bin/. if can't find file, can't include it. might have meant write:
$ssi->include(virtual => '/logo.inc');
if logo.inc in server's root directory.
Comments
Post a Comment