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
--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php