Deleting Files with unlink( )
<? $filename = 'data.txt'; if (unlink($filename)) { print "Deleted $filename!\n"; } else { print "Delete of $filename failed!\n"; } ?>