At 02:04 30.01.2003, Dara Dowd said:
[snip]
$fname is the name of the file i want to download. It works in IE, as in the
name of the file to be downloaded appears correctly in the dialog box. I
changed 'application/octet' to 'application/octet-stream' and
: Re: [PHP] content type header for downloading files
At 02:04 30.01.2003, Dara Dowd said:
[snip]
$fname is the name of the file i want to download. It works in IE, as in
the
name of the file to be downloaded appears correctly in the dialog box. I
changed
At 03:27 29.01.2003, Dara Dowd said:
[snip]
I have the following headers in download.php which forces a download dialog
box to be opened when a user clicks on a desired file:
header(Content-type: application/octet);
header(Content-Length: $filelength);
--- Dara Dowd [EMAIL PROTECTED] wrote:
I have the following headers in download.php which forces
a download dialog box to be opened when a user clicks on
a desired file:
header(Content-type: application/octet);
header(Content-Length: $filelength);
header(Content-Disposition: attachment;
PROTECTED]
Date: Wed, 29 Jan 2003 06:47:17 -0800 (PST)
To: Dara Dowd [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [PHP] content type header for downloading files
--- Dara Dowd [EMAIL PROTECTED] wrote:
I have the following headers in download.php which forces
a download dialog box
$fname is the name of the file i want to download. It works in IE, as
in
the name of the file to be downloaded appears correctly in the dialog
box.
I changed 'application/octet' to 'application/octet-stream' and this
had
no effect.
Maybe find a site that works correctly on the browser in
how do i examine the headers sent?
- Original Message -
From: John W. Holmes [EMAIL PROTECTED]
Date: Wed, 29 Jan 2003 20:06:47 -0500
To: ''Dara Dowd'' [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED]
Subject: RE: [PHP] content type header for downloading files
$fname
:
how do i examine the headers sent?
- Original Message -
From: John W. Holmes [EMAIL PROTECTED]
Date: Wed, 29 Jan 2003 20:06:47 -0500
To: ''Dara Dowd'' [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED] Subject: RE: [PHP] content type header for
downloading files
$fname
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Change
header(Content-Disposition: attachment; filename=.basename($fname).;);
to
header(Content-Disposition: inline; filename=.basename($fname).;);
On Tuesday 28 January 2003 06:27 pm, Dara Dowd wrote:
I have the following headers in download.php
]
Date: Tue, 28 Jan 2003 21:28:19 -0800
To: Dara Dowd [EMAIL PROTECTED]
Subject: Re: [PHP] content type header for downloading files
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Change
header(Content-Disposition: attachment; filename=.basename($fname).;);
to
header(Content-Disposition: inline
10 matches
Mail list logo