CodeIgniter Forums

Full Version: Upload errors?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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?