cymok Posted August 21, 2008 Share Posted August 21, 2008 Hi All, I am using the following code to create Excel file and prompt user to download it. header("Content-Type: application/vnd.ms-excel; name='excel'"); header("Content-disposition: attachment; filename=report_".date("Y-m-d")."_".$_COOKIE["username"].".xls"); The code works on Windows XP but I am facing problem when using Vista. When the user open the screen using IE7 and Vista, the download dialog is show up, but it takes forever to download. Anyway, the user may able to download the excel after trying for many times. I have no idea why this happen. Please give me some direction to solve this problem. Many thanks. Regards, Mok Link to comment https://forums.phpfreaks.com/topic/120684-download-didnt-start-when-using-ie7-and-vista/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.