I've been trying to add a text string to a .txt file from php but I get these errors
this is my code:
<?php
$archivo = fopen("fichero_texto.txt", 'a+');
fwrite($archivo, "Soy el texto que añadiste al fichero");
while (!feof($archivo)) {
$lectura = fgets($archivo);
echo $lectura, "<br>";
}
fclose($archivo);
At the time of running everything I get these errors: (according to I have assigned the permissions well, I do not know what is failing)