I gave the validation rule like this
But when the
docx file is uploaded, it shows this error
The file must be a file of type: png, gif, jpeg, txt, pdf, doc, docx.
Other types are working. I have tested it with doc and images and PDF. What do I have to do to solve this? I have tried creating
mimes.php in the app/config folder but didn't work. I'm using laravel 4.