Level 41
Should it not be
$request->pic->move(public_path('image'), $s3_id);
pic instead of file?
I'm trying to store the iamge into public directory have error occure
This is the Error :
FatalThrowableError in CompanyController.php line 325: Call to a member function move() on null
This is my code :
$getimageName = time() . '.' . $request->pic->getClientOriginalExtension();
$request->file->move(public_path('image'), $s3_id);
Please or to participate in this conversation.