Renaming file on Amazon S3 using rename()
<p>How to rename the file using PHP(in linux).
I am using rename(oldfile,newfile), but not working.</p>

<pre><code>rename("s3://mydata/$md5_userid/temp_$id.html","s3://mydata/$md5_userid/$iRow_id.html");
</code></pre>
