Viewing Question
Category: Download Center
jbmpoa writes...
2010-05-06 12:55:25
Download Center script works perfect in Firefox, but IE does not show the option to download the file. The file is opened for viewing.
What should be changed to work in IE also?
Thanks.
What should be changed to work in IE also?
Thanks.
jbmpoa writes...
2010-05-06 16:02:02
After almost three days, I managed to work in Internet Explorer (IE).
I changed the following lines in the file ../pages/get.now.php
Original:
// header('Content-type: application/octet-stream');
Changed:
header("Content-Type: application/force-download\n");
Original:
// header('Content-Disposition: inline; filename="'.$file.'"');
Changed:
header("Content-Disposition: attachment; filename=".$file.'"');
header('Content-Disposition: attachment; filename="'.$file.'"');
Hope that helps anyone with the same problem!
Thank you very much !!
I changed the following lines in the file ../pages/get.now.php
Original:
// header('Content-type: application/octet-stream');
Changed:
header("Content-Type: application/force-download\n");
Original:
// header('Content-Disposition: inline; filename="'.$file.'"');
Changed:
header("Content-Disposition: attachment; filename=".$file.'"');
header('Content-Disposition: attachment; filename="'.$file.'"');
Hope that helps anyone with the same problem!
Thank you very much !!
Chris writes...
2010-05-07 08:15:29
Well, I apologize for not being able to help you fast enough, but thanks for posting your solution!
~Chris
~Chris