Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

upload image in laravel

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