the output of this short mcal-php script is 0. and the no /var/calendar/[EMAIL 
PROTECTED] mcal file was created.

appreciate some advise.

<?php
$year = 2003; $month = 8; $day = 21;
$description = "the description"; $category = "2"; $title = "the title";

$stream=mcal_open("{/mstore}<[EMAIL PROTECTED]>","cal","passwd");

mcal_event_set_title($stream,$title);
mcal_event_set_description($stream,$description);
mcal_event_set_category($stream,$category);
mcal_event_set_start($stream,$year,$month,$day);
$err=mcal_store_event($stream);

print $err;

?>

--
rgds


---------------------------------------------------
Sign Up for free Email at http://ureg.home.net.my/
---------------------------------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to