4 months ago

Can't write image data to path in Production server [Interverntion Image ]

Posted 4 months ago by Jaikangam

It work on the local server. But on the production it gives can't write image data to path. how can is solve this problem.

Controller to save Image

            $file1 = $request->webinarphoto;
            $filename = time().'.'. $file1->getClientOriginalExtension();
            $location = public_path('images/webinar/' .$filename);
            //Image / Webinar should have folder in the public
            $inserts ->webinarphoto = $filename;

Please sign in or create an account to participate in this conversation.