Re: [WSG] OT: Opening documents in _blank window

2003-12-11 Thread Bradley Wright
Miles, Generally when serving PDF type document at my place of work, we serve them using a custom HTTP header: header( content-disposition: inline ); (that's the PHP way to do it). This works for us because we serve most of our documents as BLOBs from the database. If you're not doing that,

RE: [WSG] OT: Opening documents in _blank window

2003-12-11 Thread Miles Tillinger
:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 9:06 PM To: [EMAIL PROTECTED] Subject: Re: [WSG] OT: Opening documents in _blank window Miles, Generally when serving PDF type document at my place of work, we serve them using a custom HTTP header: header( content-disposition: inline

RE: [WSG] OT: Opening documents in _blank window

2003-12-11 Thread Taco Fleur
to your machine. my 2 pesetas! -Original Message- From: Miles Tillinger [mailto:[EMAIL PROTECTED] Sent: Friday, 12 December 2003 10:44 AM To: [EMAIL PROTECTED] Subject: RE: [WSG] OT: Opening documents in _blank window I don't suppose we're actually 'serving' the PDF or DOC

RE: [WSG] OT: Opening documents in _blank window

2003-12-11 Thread Taco Fleur
] Subject: Re: [WSG] OT: Opening documents in _blank window Miles, Generally when serving PDF type document at my place of work, we serve them using a custom HTTP header: header( "content-disposition: inline" ); (that's the PHP way to do it). This works for us because we serve most of our

RE: [WSG] OT: Opening documents in _blank window

2003-12-11 Thread Peter Firminger
Fleur [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 12:12 PMTo: [EMAIL PROTECTED]Subject: RE: [WSG] OT: Opening documents in _blank window Any more info on this? Doesn't it work the same as sending proper headers? -Original Message-From: James Ellis

RE: [WSG] OT: Opening documents in _blank window

2003-12-11 Thread Taco Fleur
If you force a user to save the file locally instead of opening it in the manner in which their browser is set up to handle it you're taking away their control of default behaviours. I really recommend against this. Let the browser handle it. If they have only the Acrobat Reader,a PDF

Re: [WSG] OT: Opening documents in _blank window

2003-12-09 Thread Gino Ferraro
Hi All, I am a new member and this is my first post. Miles I came across your problem a while back while upgrading my work site, trying everything I was about to give up when Sitepoint.com published an article from Kevin Yank that explained exactly how to open documents in a new window. And