title: Laravel 5 can't store image name in database
body: <p>I am using Laravel 5.1</p>
  
  <p>I can move image to my destination folder with correct name but in database it's saved with a temp name, like <code>D:\xampp\tmp\phpC7EA.tmp</code></p>
  
  <p><strong>form.blade.php</strong></p>
  
  <pre><code>&lt;div class="form-group"&gt;
      {!! Form::label('image', 'Upload Image', ['class'=&gt;'control-label col-sm-4']) !!}
      &lt;div class="col-sm-8"&gt;
          {!! Form::file('image', null) !!}
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>TeacherController.php</strong></p>
  
  <pre><code>public function store(TeacherRequest $request)
  {
      Teacher::create($request-&gt;all());
      $image_name = $request-&gt;file('image')-&gt;getClientOriginalName();
      $request-&gt;file('image')-&gt;move(base_path().'/public/images', $image_name);
      Session::flash('success_message', 'Teacher has been added successfully!');
      return redirect('teacher');
  }
  </code></pre>