php - Problems with Codeigniter and MY_Upload class -
i have problem while using codeigniter , class multiple upload files named my_upload.
i have code it's not working @ all, see blank page.
class upload extends ci_controller { function __construct() { parent::__construct(); $this->load->helper(array('form', 'url')); $this->load->library('my_upload'); } function do_upload_multiple($file) { $this->upload->initialize(array( "upload_path" => "./uploads/" )); //perform upload. if($this->upload->do_multi_upload("files"){ $this->load->view('upload_success', $data); } } if remove function do_upload_multiple , $this->load->library('my_upload'); doesn't work either. it's library doesn't load, make kind of error codeigniter doesn't displays it.
Comments
Post a Comment