file upload from iPhone to PHP not worked
<p>When uploading a file from iPhone, my code produces the following error:</p>

<blockquote>
  <p>Warning: move_uploaded_file() Unable to move '/tmp/phpUcqFVq' to '/var/www/ds1134/http.www.xxx.com/app/1316254141147.jpg' in /var/www/ds1134/https.www.xxx.com/user.php on line 2866</p>
</blockquote>

<p><code>$_FILES</code> looks like:  </p>

<pre><code> [file] =&gt; Array
 (
    [name]     =&gt; 1316250632283.jpg
    [type]     =&gt; 
    [tmp_name] =&gt; /tmp/phpFio7gb
    [error]    =&gt; 0
    [size]     =&gt; 35515
 )
</code></pre>

<p>My PHP code for uploading is:  </p>

<pre><code>if (move_uploaded_file($_FILES["file"]["tmp_name"], "/var/www/ds1134/http.www.xxx.com/app/".$_FILES["file"]["name"]))
{
    echo "done";
}
</code></pre>
