can you post the upload form?
Dec 28, 2016
6
Level 1
File upload not working
Hi, I'm currently setting up a little webpage. Under 'profile', the users should be able to upload an image. But unfortunately, it does not work at all!
The following code examples all return NULL:
dd(Input::file('profile_image'));
dd($request->file('profile_image'));
When I do a dd() on the $_FILES var, I get the following:
array:1 [▼
"profile_image" => array:5 [▼
"name" => ""
"type" => ""
"tmp_name" => ""
"error" => 4
"size" => 0
]
]
So apperently, I'm not able to upload files through laravel at all...
I need help! I'm stuck for about 3hours now..
Thanks! Flo
Please or to participate in this conversation.