Take a look at this: http://laravel.com/docs/5.0/requests#files
Make sure that you add enctype to your form: http://www.w3schools.com/php/php_file_upload.asp
Hi guys.
I have a problem to upload some image file via ajax. even not ajax(just post form).
Request instance allows to get all request type, but it doesn't allow file types. input[type=text] returns its own value (include csrf _token field).
but input[type=file] returns nothing.
however, I can get this file request via $_FILES global variable.
what is the problem? it makes me annoy.
someone give me a solution to solve it.
lastly, I am really sorry for my useless English.
Please or to participate in this conversation.