Level 17
It is easy with validation: Using Mime Types: https://laravel.com/docs/8.x/validation#rule-mimetypes And Max: https://laravel.com/docs/8.x/validation#rule-max But be careful with max: https://laravel.com/docs/8.x/validation#rule-size
1 like
Hello I was wondering if someone could point me in the right direction to restrict file type upload. I have everything setup in controller ok and upload works just can't seem to restrict what file type they can upload. Thanks
Please or to participate in this conversation.