I want to get the uploaded url. How to do
mukundcreator opened this issue · 0 comments
mukundcreator commented
Good day all!..
I am using this piece of code in my hobby project. At the core the purpose is to get the uploaded file url which is to be stored in the DB.
try { $request->bg_u = $request->file('bg_img')->store('google'); return $request->bg_u; } catch (Exception $e) { Log::debug($e); }
But It is not even uploading. and google/gL1RQzgl6C8vXwGPmxPTL09kaqaaVACeOQYihpa7.jpeg
this is what sored in the DB. Anybody please teach me how to do this.