Hi,
We just moved all our php based web applications to windows server running IIS 6.0.
Exporting to Excel function is unfortunately not working in the applications only in Internet Explorer.
I believe its something to do with IIS MIME types after i went through some forums. I set the MIME type for .xls and .xla as application/vnd.ms-excel in IIS.
But still I'm getting error attached below..
This is my header details in php
header("Content-Disposition: attachment;filename=QueryExport-NRBN".date("Y-m-d_hms").".xls");
header("Content-Type = application/download");
header("Content-Transfer-Encoding: binary");
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header("Expires: 0");
i hope someone can help me out.
Thank you,
