Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume

Easy Calendar Applications
The first thing we'll probably want to do is pull up a users calendar and display the month view, and the event titles for any of their scheduled events:
To do this, we only need to use just a couple of mcal functions. The first is mcal_open. mcal_open takes in a calendar string, a username and a password.
In this case, we are using:
<?php mcal_open("{/mstore}","username","password"); ?>
Calendar address strings are currently of the following form:
{servername/protocol}<username>calendar
This is the contents broken down:
  • servername - The remote server to connect to.
  • protocol - The driver protocol to use.
  • username - The users calendar to access. (i.e. john smith could be logged in and wants to view mary's calendar. If this is left blank, it means the current user that is logged in.
  • calendar - The calendar to access.
Most of these parts can also be left out. For example:
  • {icap.chek.com}INBOX - Will open up an ICAP connection to icap.chek.com and open up the default calendar for that user.
  • {icap.chek.com/icap}INBOX - Will open up an ICAP connection to icap.chek.com and open up the default calendar for that user.
  • {icap.chek.com}<> - Will open up an ICAP connection to icap.chek.com and open up the default calendar for that user.
  • {icap.chek.com}<mary> - Will open up an ICAP connection to icap.chek.com and open up the default calendar for mary, regradless of the logged in user .
In our case, we are using the mstore driver, (since it's a local filesystem, no hostname is necessary)
This function will return a calendar stream upon success.
[ Next Page ]

[Page 1]  [Page 2]  


Comments:
RE: Appointment Calendarsasmita05/13/08 03:43
RE: Appointment Calendarsasmita05/13/08 02:33
Appointment CalendarMr. Wright05/12/07 21:29
RE: Respuesta PHP calendarwester12/22/05 01:43
tan'ksagus09/30/04 22:34
correction to addeventaction.php3Ricardo Pacheco09/11/03 07:50
HelloNicko McBrain06/16/03 22:21
plzzzzz help meeeeeeeeeeewassi08/31/02 19:34
fusebox calendarEric Wolfe08/23/02 14:44
tecnologiatecnologia05/07/02 19:57
RE: How to compileKevin05/02/02 04:42
Respuesta PHP calendarcalendar web PHP04/29/02 14:55
path to mySQL en mySQLDumpmrpsycho04/05/02 12:53
How to compilePhani03/26/02 04:42
mstoreJoel Mampa03/18/02 02:36
MySQL trickimamferianto 12/10/01 10:30
Which is better?Banu12/10/01 06:15
RE: Fatal ErrorGlen Scott10/24/01 03:50
Fatal ErrorSteven C09/24/01 18:42
RE: can i use windows for this?Bill05/20/01 21:44
can i use windows for this?cool_kat04/06/01 02:55
RE: where can I get an icap server?jmp03/17/01 12:47
where can I get an icap server?Kevin Baker02/06/01 19:19
Insecure!John Adams02/01/01 06:45
Work this on windowsNeville01/25/01 03:22
Documentation is Horrible!!!!!!!!!!Patrick O'Lone01/19/01 03:44
RE: the big picture?yusuf12/26/00 02:52
Navigation arrowsChris Thompson12/04/00 21:53
RE: Where do i get MCAL library?!Chris Thompson12/03/00 20:03
RE: Where do i get MCAL library?!Joe11/24/00 11:31
RE: Where do i get MCAL library?!SoNix Hedgehog10/20/00 00:11
What kind of reminder that the alarms alarm mcheng10/19/00 11:15
RE: Where do i get MCAL library?!nono the french10/16/00 05:23
Where do i get MCAL library?!giridhar10/08/00 16:21
the big picture?Ron Donnelly07/10/00 21:40
RE: Can't open streamRaul Guillen07/06/00 17:04
Can't open streamNathan Rollins06/27/00 13:35
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.