Re: [PHP] content type header for downloading files

2003-01-30 Thread Ernest E Vogelsinger
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

2003-01-30 Thread Sascha Braun
: 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

Re: [PHP] content type header for downloading files

2003-01-29 Thread Ernest E Vogelsinger
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);

Re: [PHP] content type header for downloading files

2003-01-29 Thread Chris Shiflett
--- 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;

Re: [PHP] content type header for downloading files

2003-01-29 Thread Dara Dowd
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

RE: [PHP] content type header for downloading files

2003-01-29 Thread John W. Holmes
$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

RE: [PHP] content type header for downloading files

2003-01-29 Thread Dara Dowd
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

Re: [PHP] content type header for downloading files

2003-01-29 Thread Evan Nemerson
: 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

[PHP] content type header for downloading files

2003-01-28 Thread Dara Dowd
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; filename=.basename($fname).;); This works

Re: [PHP] content type header for downloading files

2003-01-28 Thread Evan Nemerson
-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

Re: [PHP] content type header for downloading files

2003-01-28 Thread Dara Dowd
] 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