write - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: write (/showthread.php?tid=66551) |
write - scub - 11-03-2016 Hi, I have a problem with a simple code and I've searched for a solution all day long without any answer: Code: public function ExportCSV() The variable $path returns the correct output but the write_file() returns false. The directory /assets/ is in the main directory of the project. So my questions are: Is this function returning false because I don't have the permission to write in this directory ? If yes, what should I do ? In which directory should I write this file as I would like it public ? Thank you |