<?php
error_reporting(E_ALL);
include "webdavCalendarPusher.php";
$wp = new webdavCalendarPusher();
$wp->endpoint("https://mail.example.com/webdav/username/Calendar");
$wp->user("myuser");
$wp->pass("parola");
$wp->location("center office");
$wp->startdate(date("Ymd\THis"));
$wp->enddate(date("Ymd\THis"));
$wp->summary("Test ". date('YmdHis'));
$wp->description("Test x". date('YmdHis'));
$wp->putEvent();
$wp->getEvents();
?>
|