I want to delete the uploaded file when click on remove button from server permanently
The unlink() function delete a file from server.
$file = "uploads/image.jpg";
echo ("Error deleting $file");
echo ("Deleted $file");