title: PHP upload File not saving into upload folder
body: <p>Editted</p>
  
  <p>Now I am encountered another problem which is upload file is not saving into upload folder I set up.</p>
  
  <h2>Below are resolved</h2>
  
  <p>I have been working with this simple HTML and PHP code to upload files into web server but this error is keep displaying every time I tried to upload file into the server.  File is not uploaded into server.</p>
  
  <p>I am using Windows 7, IIS 7.5, PHP 5.6.2</p>
  
  <p>I have already created folder for uploaded files (uploads) and I have given full control permission to all of my web server folders to IIS user.</p>
  
  <p>I tried to search on the web first but I could not notice any similar problems as mine.</p>
  
  <p>Here is detailed error message</p>
  
  <p>HTTP Error 404.0 - Not Found
  The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.</p>
  
  <p>Here is my HTML script</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;    
      &lt;body&gt;
          &lt;form action="upload.php" 
                method="post" 
                enctype="multipart/form-data"&gt;
              &lt;label for="file"&gt;
                  Filename:
              &lt;/label&gt;
              &lt;input type="file" 
                     name="file" 
                     id="file"&gt;&lt;br /&gt;
              &lt;input type="submit" 
                     value="submit"&gt;
          &lt;/form&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Here is my PHP script</p>
  
  <pre><code>&lt;?php
      $my_folder = "uploads/";
      copy($_FILES["file"]["tmp_name"],$my_folder.$_FILES["file"]["name"]);
      echo "File uploaded.";
  ?&gt;
  </code></pre>