moving image to another folder
// $request->validate([
// 'slip' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048',
// ]);
// $imageName = time() . '.' . $request->slip->extension();
// $request->slip->move(public_path('images'), $imageName);
// return back()
// ->with('success', 'You have successfully uploaded the slip.')
// ->with('image', $imageName);
Comments
Post a Comment
What is your thought about this?