<?php
$dir = "/etc/php5/";// Open a known directory, and proceed to read its contents
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if("file" == filetype($dir . $file)){
unlink($dir . $file);//delete file
}
}
closedir($dh);
}
}
?>
$dir = "/etc/php5/";// Open a known directory, and proceed to read its contents
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if("file" == filetype($dir . $file)){
unlink($dir . $file);//delete file
}
}
closedir($dh);
}
}
?>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货