Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

upload image in laravel

  $image= $request->image;
         $imageName=time().'.'.$image->getClientOriginalExtension();
         $request->image->move('imagefolder', $imageName);
         $data->image=$imageName;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #upload #image #laravel
ADD COMMENT
Topic
Name
7+2 =