I'm converting my home page from HTML to PHP. On my current index.html home page I call the calendar.pl as a server-side include so it just uses the tiny mode and I set it to list event for the next ten days on the calendar. I want this same effect on my new index.php home page.
When I try to do the same thing from within a PHP file, like this [the only way I can get it to work at all is by using the full domain in the include()]:
<?php
include("http://domain.com/cgi-bin/calendar.pl");
?>
... it executes the full calendar.pl script and displays the full calendar in normal mode, not in SSI mode.
Do any of you have any experience with using the SSI mode and know whether or not it can work that way when called as a php include()?
Any ideas would be appreciated!!
------------------
seth.