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


-- 
_______________________________
*Emilie Gennari*
UMR MISTEA (*bat 29*)
INRA - Centre de Montpellier
2 Place Pierre Viala - 34060 Montpellier Cedex 1

Tel. : 04.99.61.60.06
mail. : [email protected] <[email protected]>

Reply via email to