Welcome Guest, Not a member yet? Register   Sign In
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?


Messages In This Thread
IE Displaying force_download Output to Screen - by El Forum - 02-11-2009, 07:10 PM
IE Displaying force_download Output to Screen - by El Forum - 02-12-2009, 07:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB