start copy from cimac web
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
// PHP program to delete all
|
||||
// file from a folder
|
||||
|
||||
// Folder path to be flushed
|
||||
$folder_path = "../../tempzip";
|
||||
|
||||
// List of name of files inside
|
||||
// specified folder
|
||||
$files = glob($folder_path.'/*');
|
||||
|
||||
// Deleting all the files in the list
|
||||
foreach($files as $file) {
|
||||
|
||||
if(is_file($file))
|
||||
|
||||
// Delete the given file
|
||||
unlink($file);
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user