[L5] update upload file problem hi every one i have problem when try update upload file
i used Route::put
and in server side can't read file
thanx my dear @mstnorris
Input::hasFile('img') not detect upload file
i think the file not uploaded
and i user Route::put('')
Did you set enctype="multipart/form-data" in your form ?
Please provide the following:
Your routes.php file.
The URL you're hitting.
The Controller that responds to that route
The View that contains the form.
What @bestmomo said ;)
Anything else such as FormRequests etc
I suspect you are using the wrong enctype in the form you are ussing.
Like @bestmomo suggested, make sure you have enctype="multipart/form-data" set in your form.
Please sign in or create an account to participate in this conversation.