validate attached file
Closed this issue · 1 comments
masterkamlesh commented
sir,
how do i validate a attachment file with certain size and certain file types ?
thanks
willemwollebrants commented
You validate size as a number, and filetype as a string. You could also make your own custom rule to validate a $_FILES array or an UploadedFile object.
See #157