[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

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 webcal

Re: [PHP] Webcal and file_get_contents

2011-12-06 Thread Davo Smith
On Tue, Dec 6, 2011 at 11:01 AM, Stuart Dallas stu...@3ft9.com 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

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 stu...@3ft9.com 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.

Re: [PHP] Webcal and file_get_contents

2011-12-06 Thread Davo Smith
On Tue, Dec 6, 2011 at 11:14 AM, Stuart Dallas stu...@3ft9.com wrote: On 6 Dec 2011, at 11:05, Davo Smith wrote: On Tue, Dec 6, 2011 at 11:01 AM, Stuart Dallas stu...@3ft9.com wrote: On 6 Dec 2011, at 10:57, Davo Smith wrote: Does anyone know if there is a simple way to convince

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

[PHP] Re: Think I found a PHP bug

2011-12-06 Thread Patricia Dewald
In OpenSuSE 12.1 i can reproduce this issue. My workaround is to check the correct timezone. On Tue, 15 Nov 2011 23:34:18 +0100, Geoff Shang ge...@quitelikely.com wrote: Hi, A couple of weeks ago, I discovered what I'm pretty sure is a PHP bug. In addition, I looked in the PHP