[eluser]RaiNnTeaRs[/eluser]
this is my code :
$idku = $this->uri->segment(3);
$this->db->from('tabel_storage');
$this->db->where('id',$idku);
$q = $this->db->get();
$row = $q->row_array();
$fn= $row['filename'];
$data=file_get_contents("c:/xampp/htdocs/ci2/storage/".$fn);
$name=$fn;
force_download($name,$data);
NB : I manage to download some txt file, but not .rar file.Help plz.thx