PHP file_put_contents not saving but no error/warning shown
<p>I'm trying to load a file, add some text and then save the file, I have this:</p>

<pre><code>$css = file_get_contents("unzipped/$folder/style.css");
if(file_put_contents("ADD THIS " . $css, "unzipped/$folder/style.css")){
   echo("All Done!"); 
}
</code></pre>

<p>and even though 'All Done!' is echoed the contents of the file isn't changing.</p>

<p>Any ideas? :S</p>

<p><strong>EDIT:</strong></p>

<p>I also want to add that if I echo <code>$css</code> the contents of the file is shown correctly</p>
