2013-01-08 107 views

回答

1

你可以找到所有的文件與glob(),然後逐個刪除它們,就像這樣:

foreach(glob('../gallery/images/pic23.*') as $file) { 
    unlink($file); 
} 
相關問題