<?php include( __DIR__ . '/iCalParse.class.php' ); $ical = new iCalParse(); print_r( $ical->doParse( file_get_contents('iCalParse.example.ics') ) );