Re: [PHP] download successfull... but in binary... why?

2001-05-09 Thread Sebastian Wenleder
Hi, >header("Content-type: application/download"); try this: Header("Content-Type: application/x-octet-stream"); It always worked for me... good luck, Sebastian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

RE: [PHP] download successfull... but in binary... why?

2001-05-09 Thread Christian Dechery
At 07:45 9/5/2001 -0700, you wrote: >You decided it was using binary because \n was not being converted to \r\n? > >Aren't you just struggling with the difference between unix and windows >files? > >Perhaps if you filtered the files replacing \n to \r\n when destination is >windows platform. than

RE: [PHP] download successfull... but in binary... why?

2001-05-09 Thread Christian Dechery
At 08:39 9/5/2001 -0500, Boget, Chris wrote: > > header("Content-type: application/download"); > >I think you'd need to change this to: > >header("Content-type: text/plain"); > >but I could be wrong... > > > and where can I find reference on these header stuff? > >Not sure. I find bits and pieces

RE: [PHP] download successfull... but in binary... why?

2001-05-09 Thread Matt Schroebel
the man page for header() says look here: http://www.w3.org/Protocols/rfc2616/rfc2616 > From: Christian Dechery [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 09, 2001 9:33 AM > where can I find reference on these header stuff? -- PHP General Mailing List (http://www.php.net/) To unsubscrib

RE: [PHP] download successfull... but in binary... why?

2001-05-09 Thread Boget, Chris
> header("Content-type: application/download"); I think you'd need to change this to: header("Content-type: text/plain"); but I could be wrong... > and where can I find reference on these header stuff? Not sure. I find bits and pieces in this list... Chris