Re: bug mime type header

From: Date: Thu, 20 Sep 2012 01:44:32 +0000
Subject: Re: bug mime type header
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-14740@lists.php.net to get a copy of this message
On 09/19/2012 06:16 AM, Emilie Gennari wrote:
Hello, I have php 3.3.6 and i have some problems when i want to make header like this : $filename = "17285.xls"; header("Content-Type: application/ms-excel"); header("Content-disposition: /attachment;filename=NomDuFichier.xls"); readfile($filename); I have this problem but friends who have version 3.3.3 not have this problem. My generated file is corrupt . Why ? it's a bug ? is there a solution ? Best regards Emilie
The php-webmaster list is for PHP Group internal-infrastructure discussion. Questions like yours should be asked on php-general, see http://php.net/mailing-lists.php Chris

« previous php.webmaster (#14740) next »