hey any examples in how to escape a slash inside filename?
because it read as a folder path if there is slash inside filename
example code below
$filename="test/123"; Storage::disk('google')->put($filename, file_get_contents($request->file('xxxx')));
the code will try to put the file inside a test folder but what i want is the filename to be "test/123"
hey any examples in how to escape a slash inside filename? because it read as a folder path if there is slash inside filename example code below
$filename="test/123"; Storage::disk('google')->put($filename, file_get_contents($request->file('xxxx')));
the code will try to put the file inside a test folder but what i want is the filename to be "test/123"