signature16
12-20-2007, 06:59 AM
I want to include a list view of the calendar on a page on the website outside of the install folder. This is the code I have:
<html>
<head>
</head>
<body>
<div class="contentheader">
Seminar Schedule
</div>
<div>
<?php
$LIST=1;
$listMonths = 19;
$DF = "D - M d";
$template="monthly.php";
require ("http://www.example.com/calendar/calendar.php");
?>
</body>
</html>
When I use that code inside the calendar folder where easyphpcalendar is installed, it works. When I use it outside of the that folder it just shows an unformated month. What am I doing wrong?
<html>
<head>
</head>
<body>
<div class="contentheader">
Seminar Schedule
</div>
<div>
<?php
$LIST=1;
$listMonths = 19;
$DF = "D - M d";
$template="monthly.php";
require ("http://www.example.com/calendar/calendar.php");
?>
</body>
</html>
When I use that code inside the calendar folder where easyphpcalendar is installed, it works. When I use it outside of the that folder it just shows an unformated month. What am I doing wrong?