CodeIgniter Forums

Full Version: IE Displaying force_download Output to Screen
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

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.

$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?

El Forum

No idea. Try clearing your Temporary Internet files. I doubt it will help, but it might and it's all I can think of.