ok, two things...
1 - the template variable only takes the name of the file, it already knows where to look for it... so, if you filename is "monthly.php" that's all that you put for the $template variable. Also, make sure that you put that file in the template folder.
2 - when you do your require, don't use the URL, but use a relative path instead... so for you it would be
PHP Code:
<?php
$LIST = 1;
$listDays = 7;
$DF = "D, M j";
$template = "monthly.php";
require("calendar/calendar.php");
?>
Hope this helps.
|