title: PHP file doesn't write to current directory?
body: <p>I have a PHP file on a web-host that is as follows:</p>
  
  <pre><code>&lt;?php
  
  file_put_contents('test.txt','TEST');    
  echo 'OK';
  
  ?&gt;
  </code></pre>
  
  <p>But the file <code>test.txt</code> is not created when I execute the page from a browser.  Why not?  Is it a permissions issue?</p>