setup my r2 like this:
and i am uploading myfiles like this:
//Uploading ringtone
$fileName = $request->file('file')->getClientOriginalName();
$path = $request->file('file')->getRealPath();
$content = file_get_contents($path);
$result = Storage::disk('r2')->put($fileName, $content);
but $result show only false no error message ? and files are not storing .
how can i fix it? or do i need to use any other method to do it?
i have a weird "single quote" in your s3, that's why your color is all messed up on your editor....
I noticed now the area is selected by me that's why it's little white😅
Обсуждают сегодня