I am trying download the zip file using the below code: The problem is, In IE, it's not allowing me to download the file. It works fine in Firefox.
header("Content-Disposition: attachment; filename=\"somename.zip\"");
1. The file type/content-type in the IE download window is blank.
2. I tried using application/zip, application/x-zip and it didn't work.
3. I am creating the zip file using exec() command in my code.
4. In firefox the filetype comes as WINRAR ZIP ARCHIVE.
Please help me in resolving this.
Thanks in advance,