I am trying to find an effective method to generate a downloadable “.ics” file using PHP, based on a given date range (start date – end date) and reminder time.
Could any one provide me a sample PHP code to create this feature.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
http://web.archive.org/web/20120419230026/http://jamiebicknell.tumblr.com/post/413492676/ics-generator-php-class
Note: original blog post is gone; preserving with arhcive.org link.
Copy and paste the information of the above link:
Output the ICS file to the browser and give the user the option to open or save
Save the ICS file onto the server in the current working directory