WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.9 R24 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • How to include perl scripts and server side includes in WebsiteBaker pages
  • Print
Pages: [1]   Go Down

Author Topic: How to include perl scripts and server side includes in WebsiteBaker pages  (Read 6638 times)

bigeddude

  • Guest
How to include perl scripts and server side includes in WebsiteBaker pages
« 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.

Code: [Select]
<?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.

Code: [Select]
<?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.
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • How to include perl scripts and server side includes in WebsiteBaker pages
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2