title: php mkdir windows relative path
body: <p>I want to create a directory on windows from a PHP script.</p>
  
  <p>My script is in the <code>www/Test</code> directory of Apache and I want to create a folder (fold1) inside <code>www/downloads</code> directory. </p>
  
  <p>Inside the script, I'm using:</p>
  
  <pre><code>$dirName = "../downloads/fold1";   
  mkdir("{$dirName}");
  </code></pre>
  
  <p>If I use the full path of dirName like <code>C:\Apache\www\downloads\fold1</code>, it works fine.</p>
  
  <p>But I want to use a relative path since this code will be sent to the client.</p>