![]() |
codeigniter 3 file upload not working on iis - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: codeigniter 3 file upload not working on iis (/showthread.php?tid=74320) |
codeigniter 3 file upload not working on iis - tp45 - 09-10-2019 Hello Am running codeigniter 3 on iis so am trying to upload an image but it is not uploading and it is not giving an error, but when i post text it works here is my upload code: PHP Code: public function post(){ i dont know the problem please help Thanks in advance RE: codeigniter 3 file upload not working on iis - jreklund - 09-10-2019 It's usually a file directory security problem, as the IIS user don't have write access to your upload folder. You can fix it like this: Right click on upload folder Properties Security Edit Select "Users (COMPUTER\Users)" Check "Modify" and "Write" Ok Ok If you don't want all users to have write access, you will need to find what user account IIS runs under (I got no idea). RE: codeigniter 3 file upload not working on iis - tp45 - 09-10-2019 (09-10-2019, 07:23 AM)jreklund Wrote: It's usually a file directory security problem, as the IIS user don't have write access to your upload folder.It worked thank you so much. |