Fast to explain, but I can\'t get it to work:
In this simple code, the function force_download simply doesn\'t make any output.
$this->load->helper
Just a note to anyone else who may be having this problem: Make sure you have a file extension on the filename you supply for the first argument to force_download().
force_download()
CodeIgniter uses this to set the MIME type, and it doesn't seem to work without.