Code:
if (isset($_POST['ta'])) {
$newData = nl2br (htmlspecialchars($_POST['ta']));
$handle = fopen($myFile, "w");
fwrite($handle, $newdata);
fclose($handle);
}
gives me the error of:
Warning: fopen(file.txt): failed to open stream: Permission denied in /var/www/eduardoCMS/file.php on line 12
does anyone know why this is and how I could fix that. thank you guys for all the help, much apprecaited