WebsiteBaker Community Forum
WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: bigeddude on September 30, 2008, 07:45:08 AM
-
If you have a perl script that you would like to display inside of a WB page you can use the following code in your template where you want the include to show.
<?php echo @stripslashes( @join( @file( "http://www.yourdomain.com/cgi-bin/your_perl_script.pl" ),"" ) );?>
If you have a server side include as a template file for your perl script, you would include it as follows.
<?php echo @stripslashes( @join( @file( "http://www.yourdomain.com/cgi-bin/your_perl_script.pl?template=ssi.html" ),"" ) );?>
This will work with perl script .cgi or .pl file types.