CodeIgniter Forums

Full Version: Extend form_validation for upload Codeigniter 3
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

Is there a library that extends the form_validation which supports verifications of image or file uploads?

Thank you
The file upload library has quite a few file validation options.
https://codeigniter.com/user_guide/libra...ading.html

Callbacks in form validation are quite powerful too, so you can write any function you want as a callback and set errors for validation.
https://codeigniter.com/user_guide/libra...-as-a-rule

I hope something in there helps.

Paul