PHP ICS File Nugget

April 1, 2011
Tags: ,

I typically don’t work in PHP but I have really great friend in Atlanta who sends me some php work every so often and I can’t pass up the opportunity to work with him and make a little extra money.

The most recent project he wanted was a little ICS generator. ICS is the iCalendar format that can be consumed by either Outlook or Google Calendar or any other calendaring utility that can accept that standard format. We needed to be able to provide some custom information and have some static information and send the ICS file into the response stream from the server so they could download the file.

I did a quick search and came across this excellent iCal class that is lightweight and did everything I needed it to do. With a couple of query string parameters being consumed on the other end I was able to have it output my custom iCal information rather quickly. If anyone is interested in the rest of the code for the iCal stuff please reply to this feed and I’ll post it.

Written by Bert Hileman - Visit Website

No related posts.

Leave a Reply




Spam Protection by WP-SpamFree