force_download return corrupt file |
Here my code. It is success to download the file, but the file is corrupt. is it a bug ? or i miss something ? i use CI 3.x.
Many thanks Code: $filename = 'something.docx';
You parameters are wrong.
PHP Code: // Contents of photo.jpg will be automatically read See : http://www.codeigniter.com/user_guide/he...e_download
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/ |
Welcome Guest, Not a member yet? Register Sign In |