I am a total newbie with php file functions. I just want to create a file in a directory! 😕
$content = " .. ";
$file = fopen("css/style.css","x");
fwrite($file,$content);
fclose($file);
I get this error:
Warning: fopen(css/style_base.css): failed to open stream: Permission denied ..
Any help? (also where for a great beginner tutorial on php file manipulation?) Thanks!