title: Can't Upload File on IIS
body: <p>I am on a shared-hosting account with GoDaddy it's a windows Server and I am getting this error when attempting to upload a file:</p>
  
  <pre><code>Warning: move_uploaded_file(D:\Hosting\6903\html\pdfs\ALDOmypdfAP.pdf) [function.move-uploaded-file]: failed to open stream: Permission denied in D:\Hosting\6903\html\back.php on line 436
  
  Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'D:\Temp\php\php98C.tmp' to 'D:\Hosting\6903\html\pdfs\ALDOmypdfAP.pdf
  </code></pre>
  
  <p>I have heard that I can set my php.ini file to change the directory that it's immediately being uploaded to, which would work, however I can't access my php.ini file.</p>
  
  <p>I have tried to create my own php.ini file in the root of my directory, and it causes all sorts of problems, such as not finding the correct MySQL configuration files, goDaddy's support on this was to remove the custom php.ini file, ridiculous, I know.</p>
  
  <p>I have tried to use ini_set like this</p>
  
  <pre><code>ini_set('upload_tmp_dir', 'D:/Hosting/6903/html/pdfs/');
  </code></pre>
  
  <p>But it hasn't made any effect. Do I have any other options here? Thank you!</p>
  
  <p>UPDATE: From Coda the Octal permissions read 777 of the destination directory.</p>