Level 44
the form must have this attribute enctype set to "multipart/form-data"
hi.
i have a problem with upload image
i use laravel Form :
{{ Form::open(array('file'=>true,'action' => 'userController@store','method'=>'post')) }}
{{ Form::file('profile') }}
{{ Form::close() }}
when i check userController like var_dump( $request->hasFile('profile'));
it return FALSE
$request ->hasFile get back FALSE and don't upload anything
the form must have this attribute enctype set to "multipart/form-data"
Please or to participate in this conversation.