CodeIgniter Forums
Upload errors? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Upload errors? (/showthread.php?tid=10726)



Upload errors? - El Forum - 08-10-2008

[eluser]ywftdg[/eluser]
What is the best way to trigger upload error messages? Like stop the upload process, if file is too large or wrong type? I was trying some things like if (!$this->upload->do_upload()), but that was causing all sorts of problems with my overall process of the controller, as well the upload is not required. Any ideas, or did I miss something in previous posts?