title: PHP rename directory failed
body: <p>Well my PHP script generated an error with a hyperlink in it.<br>
  Does anyone know what's wrong?</p>
  
  <blockquote>
    <p><code>PHP Warning:  rename(./uploads/temp/00013/,./uploads/orders/39/) [&lt;a href='function.rename'&gt;function.rename&lt;/a&gt;]: No such file or directory</code></p>
  </blockquote>
  
  <p>update:</p>
  
  <p>actual code in PHP</p>
  
  <blockquote>
  <pre><code>          if(!file_exists('uploads/orders/')) {
                  mkdir('uploads/orders/'); // ensuring the orders folder exist
              }
              rename('uploads/temp/' . $u . '/', 'uploads/orders/' . $i . '/');
  </code></pre>
  </blockquote>
  
  <p>update:</p>
  
  <p>Sorry, my fault. I coded to delete previous temp folder before this code execute. Thanks!</p>