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
will
From: Taco 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-Fr
"If you are using Apache you could force a download for these file types
instead of opening the file. When the user clicks on the link the download
box will pop up."
Same thing can be done with CF & /
Cheers
Mark
--
Mark Stanton
Technical Director
Gruden Pty Ltd
Tel: 9956 638
, 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" );
(that's the PHP way to do it).
This w
, 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" );
(that's the PHP way t
ck" the link and select "Save As" to save the document 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
m: Bradley Wright [mailto:[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( &qu
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,
I wouldn't classify this as off topic, it's all part of the web environment
and standards (or lack thereof) of real practical cases are all part of the
discussion!
imho.
I have heard it is possible to configure a webserver in a way that when
someone accesses a PDF/DOC (whatever file types have b
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 it's
Just a question about how other developers handle opening documents e.g. PDF, DOC, in
a new window.
At the moment I am using _blank targets.
Scenario 1: User is using IE with Word configured to open inside the IE window. When
the user clicks on a link to the Word doc a new IE window opens and
11 matches
Mail list logo