Error uploading files in form and sending to the controller. Laravel

0

In a form I have an input of type 'File' to upload a file and get the value of that file in the controller, but when doing dd ($ request-> file ('file') it shows me NULL.

{{ Form::open(array('url' => '/save'), ['id' => 'Form'], ['enctype' => 'multipart/form-data'], ['files'=> true]) }}

{{Form::file('file')}}

{{Form::close()}}
    
asked by gmrYaeL 19.11.2018 в 14:59
source

0 answers