with php script generated excel. has been worked until few days ago, when download file in windows, excel not display content. if open mac contect it's displayed correctly. think can related office's update issue.
i have tried various content-type , different headers, behavior same.
the code using print file is:
header('content-type: application/vnd.ms-excel'); header('expires: 0'); header('cache-control: must-revalidate, post-check=0, pre-check=0"'); header('content-disposition: attachment;filename="name_file.xls"'); echo '<table border="1"> <thead> <tr><td>content</td></tr> ..... ..... </thead> </table>';
Comments
Post a Comment