Re: [PHP] Webcal and file_get_contents

2011-12-06 Thread Jim Lucas
On 12/6/2011 2:57 AM, Davo Smith wrote: > Does anyone know if there is a simple way to convince > 'file_get_contents' to treat webcal urls (e.g. > webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics ) as > being the same as an http url? (according to Wikipedia, http is > assumed for webcal

Re: [PHP] Webcal and file_get_contents

2011-12-06 Thread Davo Smith
On Tue, Dec 6, 2011 at 11:14 AM, Stuart Dallas wrote: > On 6 Dec 2011, at 11:05, Davo Smith wrote: > >> On Tue, Dec 6, 2011 at 11:01 AM, Stuart Dallas wrote: >>> On 6 Dec 2011, at 10:57, Davo Smith wrote: >>> Does anyone know if there is a simple way to convince 'file_get_contents' to t

Re: [PHP] Webcal and file_get_contents

2011-12-06 Thread Stuart Dallas
On 6 Dec 2011, at 11:05, Davo Smith wrote: > On Tue, Dec 6, 2011 at 11:01 AM, Stuart Dallas wrote: >> On 6 Dec 2011, at 10:57, Davo Smith wrote: >> >>> Does anyone know if there is a simple way to convince >>> 'file_get_contents' to treat webcal urls (e.g. >>> webcal://www.calendarlabs.com/templ

Re: [PHP] Webcal and file_get_contents

2011-12-06 Thread Stuart Dallas
On 6 Dec 2011, at 11:05, Davo Smith wrote: > On Tue, Dec 6, 2011 at 11:01 AM, Stuart Dallas wrote: >> On 6 Dec 2011, at 10:57, Davo Smith wrote: >> >>> Does anyone know if there is a simple way to convince >>> 'file_get_contents' to treat webcal urls (e.g. >>> webcal://www.calendarlabs.com/templ

Re: [PHP] Webcal and file_get_contents

2011-12-06 Thread Davo Smith
On Tue, Dec 6, 2011 at 11:01 AM, Stuart Dallas wrote: > On 6 Dec 2011, at 10:57, Davo Smith wrote: > >> Does anyone know if there is a simple way to convince >> 'file_get_contents' to treat webcal urls (e.g. >> webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics ) as >> being the same as

Re: [PHP] Webcal and file_get_contents

2011-12-06 Thread Stuart Dallas
On 6 Dec 2011, at 10:57, Davo Smith wrote: > Does anyone know if there is a simple way to convince > 'file_get_contents' to treat webcal urls (e.g. > webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics ) as > being the same as an http url? (according to Wikipedia, http is > assumed for we

[PHP] Webcal and file_get_contents

2011-12-06 Thread Davo Smith
Does anyone know if there is a simple way to convince 'file_get_contents' to treat webcal urls (e.g. webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics ) as being the same as an http url? (according to Wikipedia, http is assumed for webcal urls) I've looked into using 'stream_wrapper_reg