<?php $filename = '/data/webroot/usercode/code/test.txt'; file_put_contents($filename, 'a'); //删除文件$filename unlink($filename);
glod("*")是什么意思!
foreach (glob("*") as $filename) {
unlink($filename);
}
<?php $filename = '/data/webroot/usercode/code/test.txt'; file_put_contents($filename, 'a'); //删除文件$filename unlink($filename);
glod("*")是什么意思!
foreach (glob("*") as $filename) {
unlink($filename);
}
2014-09-11
举报