unlink() is a function used for file handling in php,
it will delete the file content.
example:
<?php
$files = "image/log.jpeg";
if (!unlink($files))
{
echo ("Error deleting $files");
}
else
{
echo ("Deleted $files");
}
?>