ical alarm must lunch a php script

Hi every one,


i would like to lunch a php script as a alarm for my event,

i wrote something like this in my event :


BEGIN:VALARM

TRIGGER;VALUE=DATE-TIME:20110319T191500

ACTION:PROCEDURE

*ATTACH;FMTTYPE=application/binary:http://website.com/scripts/my_script.php*

END:VALARM


is this what should be used ?


Thank you.

Posted on Apr 29, 2011 3:15 AM

Reply
6 replies

May 29, 2011 9:26 AM in response to Austin Kinsella1

Well,


on a Linux server, i have a Icalendar program : web calendar viewer(PHP), it containes a directory to put the ICS files to be treated. ics calendars contains events with alarms - every time a specific event alarm is run, it should run VLC with a specific vidéo. th achieve this, alarms have (ACTION:PROCEDURE) and (ATTACH;FMTTYPE=text/php;VALUE=BINARY;file:http://web-site.com/script.php) the script.php contains php code wich run VLC.

the ics files and the php script torun are on the same server.


first, i will install a iCal server on the Linux server (since the icalendar program doesn't seem to run alarm correctly !) i am looking for an open source ical server able to run procedure alarm (because google agenda can't run procedure alarm it only can send emails as a alarm).

then i should be sur i use the correct syntax when i define (ATTACH)


what do you think ?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

ical alarm must lunch a php script

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.