[SOLVED] Problems with file upload! |
Hi guys,
I'm having some issues with the file upload in CodeIgniter as fallows: PHP Code: public function do_upload($id = null) It doesn't matter what ihave in my controller or view - the code above is from my model. So, when ai dump the $_FILES['userfile'] on screen i get all the data about the file uploaded. Witch is ok. But when idump the uploaded data to the screen i get this: Code: Dump => array(14) { ...absolutley no info about the image uploaded. P.S. - ignore the $this->slider_path - is the path to images for slider. P.S. 2 - the image library is loaded in the constructor method. Edit: Directory permision problems! [url=//www.pinterest.com/pin/create/extension/][/url]
Romanian CodeIgniter Team :: Translations :: Comunity :: Developers
http://www.codeigniter.com.ro
Why not use this to display the errors? $this->upload->display_errors();
Website: http://avenir.ro
|
Welcome Guest, Not a member yet? Register Sign In |