1/*
2Deleting files is a concept in file handeling of PHP
3We can remove or delete the file from real folder path using below code
4*/
5
6unlink($Your_file_path); // direct deleting the file
7
8/* Delete file if its exist in folder */
9
10if (file_exists($Your_file_path)) {
11 unlink($Your_file_path);
12}
13
14/*
15I hope it will help you.
16Namaste
17*/