windows 8 - Not able to download any file in php on windows8 and ie10? -


i have file generated dynamically , downloaded, code running no problem other browser on window 7 ie 10 working fine not able 2 download file in window 8 ie10. have try download simple text file header text/plain not downloading. shows downloading prompt file name in downloading code there not name specified , nothing happen on clicking save in ie 10.working in other.

<?php  echo "this sample text"; header('content-type: text/plain');  //open/save dialog box header('content-disposition: attachment;filename="sample.txt"');  ?> 


Comments