php как удалить файлы в каталоге

$files = glob('path/to/temp/*'); // get all file names foreach($files as $file){ // iterate files if(is_file($file)) unlink($file); // delete file }

Read 46 times
Rate this item
(0 votes)

Leave a comment

Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.

Счетчики

 

 

Киев, Новозабарская, 2/6

+38(044)233-3017      +38(093)170-3017