I tried in the server folder to place a file with this content, the file file.txt does not open.
<?php if(file_exists('file.txt')){ $file = fopen('file.txt','r'); }else{ echo("Ошибка открытия файла: файл не существует"); } ?> Can I be deeply mistaken? A text editor window should appear in my views. If this is not the case, please explain how this works.