i have some file which generated dynamically and downloaded, code is running with no problem with other browser even on window 7 ie 10 working fine but not able two download file in window 8 ie10. i have also try to download simple text file with header text/plain which is also not downloading. it shows downloading prompt with the file name in which downloading code is there not the name i specified and nothing happen on clicking save in ie 10.working in other.
<?php
echo "this is sample text";
header('Content-type: text/plain');
//open/save dialog box
header('Content-Disposition: attachment;filename="sample.txt"');
?>
这是IE 10的window 8 bug,仅在以后修复:)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.