Level 5
Apparently doc and docx files are considered zip files so you need to update your validation.
https://stackoverflow.com/questions/33993874/laravel-5-1-error-in-validating-doc-docx-type-file
Here's a similar discussion:
Hello everybody, I got an error when I upload docx file on server but on localhost it works fine.
Here is the code 'files' => 'required|mimes:docx,pdf' and I already try use zip instead of docx but still not work. Can anyone help? Thank you.
Please or to participate in this conversation.