I want to upload a file from a form in Laravel.
Input::file('imagen')->move('/public/imagenes/asdf',$producto->id.Input::file('imagen')->getClientOriginalName());
I tried this but it does not work, I get this error:
Call to a member function move () on null