PDA

View Full Version : Adding a cgi script in a new page?


Lore
06-13-2004, 07:35 PM
Not sure if this possible or how it can be exactly done. I'm not having much luck with it so far. I would like to run a SSI for a cgi script in a new page. I've created the page and a template that I pulled in with the following:

<?php
include_once("http://yourwebsite/cgi-bin/script.cgi?");
?>

That in itself is not working. I just want the application to show up on the custom page.

Ian Gordon
06-13-2004, 09:09 PM
Did you try using a module, that calls an external php page with the include statement in it? I don't believe you can put raw PHP code in templates.