Почему file_put_contents отказывается работать для следующего кода?
$f = file_put_contents("files/r.js", "Some text here"); if ($f) print 1; else print 0;