File Not Move To Destination Folder |
I am having a problem uploading an image file to a destination folder in my CodeIgniter application and it is not working at all. I have referred so many articles and downloaded some working one but they wouldn't work once in my application and I am thinking it might be my .htaccess file or what. When I remove the upload $this->upload->do_upload('fileupload') path of the doUpload function and remove the if conditional statement, record got inserted in the database successfully even with extracting the name of the uploaded file and inserting it in the database table but once I put the $this->upload->do_upload('fileupload'), it will not work, meaning the Codeigniter do_upload() is not moving the file.
Please check my code doUpload() function : ,,, Code: public function doUpload() ,,, Below is my .htaccess file ,,, Code: RewriteEngine on ,,, Please help me on this as it is killing me big time. Attached to this post is my folder structure. I appreciate all efforts in advance. Regards, |
Messages In This Thread |
File Not Move To Destination Folder - by olammieconcept - 12-17-2019, 06:01 AM
RE: File Not Move To Destination Folder - by InsiteFX - 12-17-2019, 09:02 AM
RE: File Not Move To Destination Folder - by olammieconcept - 12-17-2019, 09:43 AM
RE: File Not Move To Destination Folder - by InsiteFX - 12-17-2019, 01:06 PM
|