For at være helt sikker på at dit billede bliver slettet kan du gøre sådan:
<?php
$picture_delete = "pictures/picture01.bmp";
if (unlink($picture_delete)) {
echo "The file was deleted successfully.", "\\n";
} else {
echo "The specified file could not be deleted. Please try again.", "\\n";
}
?>