set_header() file download problem |
It's not a bug. You just need to learn how to use the Output class. Look at http://www.codeigniter.com/user_guide/li...utput.html, there's code example. You need to call _display() before you call exit.
PHP Code: $response = array('status' => 'OK');
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/ |
Messages In This Thread |
set_header() file download problem - by Rashid - 12-29-2015, 02:38 AM
RE: set_header() file download problem - by orionstar - 12-29-2015, 03:21 AM
RE: set_header() file download problem - by Rashid - 12-29-2015, 06:37 AM
RE: set_header() file download problem - by Rashid - 12-29-2015, 06:50 AM
RE: set_header() file download problem - by includebeer - 12-29-2015, 09:22 AM
|