• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IE Displaying force_download Output to Screen

#1
[eluser]ladyj001[/eluser]
I am experimenting with the force_download function of the Download Helper. I am currently trying to implement the example given in the user guide.

$this->load->helper('download');
$data = 'Here is some text!';
$name = 'mytext.txt';
force_download($name, $data);

In FF, the Open/Save dialog box appears as expected. But, in IE7, the output is displayed directly on the screen. There is no Open/Save prompt. What am I doing wrong?

#2
[eluser]TheFuzzy0ne[/eluser]
No idea. Try clearing your Temporary Internet files. I doubt it will help, but it might and it's all I can think of.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.