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.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


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.

Donate with PayPal buttonSpenden mit dem PayPal-Button

  • 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 6402 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