RE: [PHP] Passing header info for use in downloading files...?

2003-11-11 Thread Erik Osterman
PROTECTED] Subject: RE: [PHP] Passing header info for use in downloading files...? --- Erik Osterman <[EMAIL PROTECTED]> wrote: > Look's correct... you could consider adding > Header("Content-transfer-encoding: binary"); Because Content-transfer-encoding is not a valid

RE: [PHP] Passing header info for use in downloading files...?

2003-11-11 Thread Chris Shiflett
--- Erik Osterman <[EMAIL PROTECTED]> wrote: > Look's correct... you could consider adding > Header("Content-transfer-encoding: binary"); Because Content-transfer-encoding is not a valid HTTP header, this will have no effect. Content-Encoding and Transfer-Encoding are valid headers, but binary

RE: [PHP] Passing header info for use in downloading files...?

2003-11-11 Thread Erik Osterman
Look's correct... you could consider adding Header("Content-transfer-encoding: binary"); But I highly doubt that would fix things. It would help much more if you pasted the output by the server... The link you pasted us is not sending any of the headers you set. Maybe you already expired thi

Re: [PHP] Passing header info for use in downloading files...?

2003-11-11 Thread John Nichel
[EMAIL PROTECTED] wrote: I have a page where the user clicks a link to download a file, but the file is out side of the root DIR. passing certain variables in the link, (type, file_name) I call the correct file... However, it's stopped working? My code below shows how I select the correct mime i