CodeIgniter Forums
Upload errors? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Upload errors? (/thread-10726.html)



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?