摘要: $myFile = "testFile.txt";$fh = fopen($myFile, 'w') or die("can't open file");fclose($fh);判断是否删除了. $myFile = "testFile.txt";unlink($myFile); $filename 阅读全文
posted @ 2017-09-14 10:51 刀狂剑痴叶小钗 阅读(92) 评论(0) 推荐(0) 编辑
摘要: unlink() 函数删除文件。 若成功,则返回 true,失败则返回 false。 语法 阅读全文
posted @ 2017-09-14 10:46 刀狂剑痴叶小钗 阅读(198) 评论(0) 推荐(0) 编辑