title: move_uploaded_file failure
body: <p>Can someone help me understand why this is returning false?</p>
  
  <pre><code>if ((move_uploaded_file($_FILES[$field]['tmp_name'], $path))) {
  </code></pre>
  
  <p>As in, potential causes. I have checked the variables are correct and I have checked permissions on the destination folder which is 777.</p>
  
  <p>Cheers!</p>
  
  <p>For those wanting to see var_dump ($_FILES);</p>
  
  <pre><code>array(1) { ["image"]=&gt;  array(5) { ["name"]=&gt;  string(14) "accountile.png" 
  ["type"]=&gt;  string(9) "image/png" ["tmp_name"]=&gt;  string(14) "/tmp/php28IQhv" 
  ["error"]=&gt;  int(0) ["size"]=&gt;  int(394) } }
  </code></pre>