title: file uploaded successfully but I can't find the file
body: <p>I'm using Azure server to open the website and linking to dropbox to store all the code files. I have an folder called 'image' but after uploading, though it shows "Uploaded!", I can't find that file.
  Here's my code:</p>
  
  <pre><code>&lt;?php
  $name = $_FILES['file']['name'];
  $size = $_FILES['file']['size'];
  $type = $_FILES['file']['type'];
  
  $tmp_name = $_FILES['file']['tmp_name'];
  
  $error = $_FILES['file']['error'];
  
  if (isset($name)){
      if(!empty($name)){
          $location = 'image/';
          if(move_uploaded_file($tmp_name, $location.$name)){
              echo 'Uploaded!';            
          }else{
              echo 'There was an error.';
          }
      }else{
          echo 'Plz choose a file.';
      }
  
  }
  ?&gt;
  &lt;form action="add.php" method="post" enctype="multipart/form-data"&gt;
                  Select file to upload:
                  &lt;input type="file" name="file" id="file"&gt;
                  &lt;input type="submit" value="Upload Image" name="submit"&gt;
  &lt;/form&gt;
  </code></pre>