hi master,
i have problem with my ci web, i use force_download in my controller but why redirect() cannot work, please tell me what my problem.
$filedown = $this->input->post('filedown');
$datas = file_get_contents(base_url() . "down/" . $filedown); // Read the file's contents
$name = "$filedown";
force_download($name, $datas);
i have error, if i has wrong path file_get_content(path), can you tell me what my problem.
thank for your help