Form validation and $_FILES array - 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: Form validation and $_FILES array (/showthread.php?tid=39607) |
Form validation and $_FILES array - El Forum - 03-15-2011 [eluser]phpwebdev[/eluser] Sorry for my English On the version 2.x planing to put some $_FILES validation (on the Form_validation.php) ...... will be usefully Form validation and $_FILES array - El Forum - 03-16-2011 [eluser]LuckyFella73[/eluser] Hi Phpwebdev, file validation is done with the file upload library. If you wan't to validate an uploaded file in the form_validation routine you can set up a callback function handling the fileupload and pass true or false to your form_validation rule. Form validation and $_FILES array - El Forum - 03-16-2011 [eluser]phpwebdev[/eluser] Ty , i will check |