Re: [PHP] PDF Printing instead?

2012-01-05 Thread Davo Smith
On Thu, Jan 5, 2012 at 8:26 PM, Dan Joseph wrote: > On Thu, Jan 5, 2012 at 3:14 PM, Jim Giner wrote: > >> ok - somebody has advised that I should not be trying to print to a printer >> from my website php script. >> >> The suggestion of creating a pdf and sending to the client was made.  How >> do

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 w

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-Holi

[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