<? $faddr="data.txt"; if (file_exists($faddr)) { unlink($faddr); echo "Delete : ok"; } else { echo "File not found"; } ?>