Validate file if a select is... |
If you upload a file, then information about it is in a separate array.
Use a request instance instead of $data. PHP Code: $file = Config\Services::request()->getFile('field_name'); https://codeigniter.com/user_guide/libra...files.html |
Messages In This Thread |
Validate file if a select is... - by pippuccio76 - 03-16-2021, 01:06 PM
RE: Validate file if a select is... - by iRedds - 03-17-2021, 02:16 AM
RE: Validate file if a select is... - by pippuccio76 - 03-17-2021, 02:18 AM
RE: Validate file if a select is... - by kenjis - 03-17-2021, 05:21 PM
RE: Validate file if a select is... - by pippuccio76 - 03-18-2021, 12:46 AM
|