title: Notice: Unknown: file created in the system's temporary directory in Unknown on line 0
body: <p>I'm simply using a html form to upload a file.</p>
  
  <p>But I'm getting below error:</p>
  
  <blockquote>
    <p>Notice: Unknown: file created in the system's temporary directory in
    Unknown on line 0</p>
  </blockquote>
  
  <p>Here's my HTML:</p>
  
  <pre><code>&lt;form name="import" method="post" action="CSVUpload" enctype="multipart/form-data"&gt;
      &lt;input type="file" name="file" /&gt;&lt;br /&gt;
      &lt;input type="submit" name="submit" value="Submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Here's the route:</p>
  
  <pre><code>$f3-&gt;route('POST|PUT @CSVUpload: /CSVUpload', 'GBD\Internals\Controllers\LeaveController-&gt;csvHandler');
  $f3-&gt;route('GET /CSVUpload', 'GBD\Internals\Controllers\LeaveController-&gt;csv');
  </code></pre>
  
  <p>Here's my controller:</p>
  
  <pre><code>public function csv()
  {
      $this-&gt;f3-&gt;set('content', 'leave/csvUploader.php');
      $template = new \View;
      echo $template-&gt;render('dashboard/layout.php');
  }
  
  public function csvHandler()
  {
      $postvalue = $this-&gt;f3-&gt;get('POST.submit');
      if(isset($postvalue))
      {
          $fileReceived = $this-&gt;f3-&gt;get('POST.file');
          var_dump($fileReceived);
      }
  }
  </code></pre>
  
  <p>I am using fat-free framework.</p>
  
  <p>I found out that uploaded files are temporarily stored to <code>upload_tmp_dir="C:\inetpub\temp"</code>.</p>
  
  <p>What is wrong here??</p>
  
  <p>Any help is very  much appreciated. Thanks.</p>