Closed vulam8x closed 3 years ago
I passed the file variable to the controller but when moving to public_path images there was an error of 500
My code to move file:
public function store(Request $request){ ... $request->photo->move(public_path('images'), $photoName); ... }
I passed the file variable to the controller but when moving to public_path images there was an error of 500
My code to move file:
public function store(Request $request){ ... $request->photo->move(public_path('images'), $photoName); ... }