title: mkdir not working in PHP
body: <p>Have been pulling out my hair for the past 2 hours on this and am sure I am doing something really stupid.</p>
  
  <pre><code>&lt;?php
  mkdir("blah", 0777);
  ?&gt;
  </code></pre>
  
  <p>This works through the command line and the folder gets created. But the same thing doesn't work when I try to run it through the browser. Any file permission issues?</p>