<?php $filename = 'file.txt'; $handler = fopen($filename, 'r+'); if (false === $handler) { printf('Impossibile aprire il file %s', $filename); exit; } fclose($handler);Copy