title: php file_put_contents function not working
body: <p>Why would file_put_contents refuse to work for the following code?</p>
  
  <pre><code>$f = file_put_contents("files/r.js", "Some text here");
  
  if ($f) print 1;
  else print 0;
  </code></pre>