Level 1
any idea how to fix this issue?
hi i'm trying to upload files with Persian name like نام فایل but the file uploads and stores with unknown chars name like تقسیم_وظای٠it really stuck me I don't know what to do.
here is my code:
if ($request->hasFile('fileinput')) {
$file=$request->file('fileinput');
$ext=$file->guessClientExtension();
$request->file('fileinput')->storeAs('contents','نام-فایل.'.$ext);
}
Please or to participate in this conversation.