Re: [PHP] Problems with headers and downloading file

2004-11-29 Thread David Dickson
Christian Johansson wrote: I have a problem with downloads with the use of header() I have this code at the start at the download site: Header("Content-Type: application/download"); Header("Content-Disposition: attachment; filename=export.txt"); My problem is that the file which is downloaded

Re: [PHP] Problems with headers and downloading file

2004-11-29 Thread John Nichel
Christian Johansson wrote: Hello. I have a problem with downloads with the use of header() I have this code at the start at the download site: Header("Content-Type: application/download"); Header("Content-Disposition: attachment; filename=export.txt"); My problem is that the file which is

[PHP] Problems with headers and downloading file

2004-11-29 Thread Christian Johansson
Hello. I have a problem with downloads with the use of header() I have this code at the start at the download site: Header("Content-Type: application/download"); Header("Content-Disposition: attachment; filename=export.txt"); My problem is that the file which is downloaded contains HT