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

Popular posts from this blog

How to Check for NVIDIA GPU and Set It Up in Ubuntu

Use the Google Custom Search JSON API to retrieve images

Add linux app to ubuntu