laravel don't allow this extension to upload
Where do your read this?
Whot's your form?
hello
i wanna allow user to upload xbm and wbmp files with other extensions, so this is my validate
$validate = Validator::make($request->all(), [
'file' => ['file', 'required', 'mimes:jpeg,png,jpg,gif,webp,avif,bmp,xbm,wbmp', 'max:51200'],
]);
laravel don't allow this extension to upload. how can i make laravel accept this files extensions?
@sr57 because you don't know what you talking i just asked a simple question and you made it complicated.
I just have input
<input type="file" name="uploader" id="uploader" data-uploader multiple>
I just want to validate the files to accept: XBM , WBMP.
$validate = Validator::make($request->all(), [
'file' => ['file', 'required', 'mimes:jpeg,png,jpg,gif,webp,avif,xbm,wbmp', 'max:51200'],
]);
why you ask 10 questions>!?!!! you asked what uploader I used I just use simple form and simple validation. just tell me how to make that. after that i will call that help
Please or to participate in this conversation.