I have applied following rules:
$this->validate($request, [
'receiptfile' => 'mimes:png,jpeg,gif,pdf,doc'
]);
Then why .xls file is validated and passed from that rule on server which is not specified in rule at all. I have checked with multiple .xls files
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire