title: php file uploading doesn't work
body: <p>I am testing a php code of file uploading. Here is the form:</p>
  
  <pre><code>&lt;form action="C:/xampp/htdocs/php/upload.php" method="post" enctype="multipart/form-data"&gt;
      &lt;p&gt;Browse File&lt;/p&gt;
      &lt;p&gt;&lt;input type="file" name="file" id="file" /&gt;&lt;/p&gt;
      &lt;p&gt;&lt;input type="submit" name="submit" value="Submit" /&gt;&lt;/p&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>and here is the upload.php file:</p>
  
  <pre><code>&lt;?php
  if($_POST['submit']){
  $upload_folder = 'C:/xampp/htdocs/php/uploads/';
  move_uploaded_file($_FILES['file']['tmp_name'], $upload_folder.$_FILES['file']['name']);
  echo 'File uploaded successfully';
  }
  ?&gt;
  </code></pre>
  
  <p>But this doesn't upload any file. What is the problem here?</p>