PHP/File Directory/File Delete
Версия от 10:37, 26 мая 2010; (обсуждение)
Delete a file
<?php
$file_delete = "home/meeta/my.php";
if (unlink($file_delete)) {
echo "The file was deleted successfully.", "\n";
} else {
echo "The specified file could not be deleted. Please try again.", "\n";
}
?>