PHP Classes

File: calendar.php

Recommend this page to a friend!
  Classes of Matthew Boyle   PHP Calendar CSV Import to ICS (iCal)   calendar.php   Download  
File: calendar.php
Role: Example script
Content type: text/plain
Description: sample script
Class: PHP Calendar CSV Import to ICS (iCal)
Convert calendar from CSV to ICS format
Author: By
Last change: changed name of output file
Date: 7 years ago
Size: 214 bytes
 

Contents

Class file image Download
<?
date_default_timezone_set
('America/Detroit');
include(
"csv2ics.class.php");

$new = 'wings.ics';
$cal = new Csv2Ics('wings.csv',true);
$cal->convert($new);

echo
is_file($new) ? "success" : "fail";

?>