php删除文件夹上指定文件。要代码吧,多谢,不要复制

WBOY
Release: 2016-06-13 13:15:10
Original
809 people have browsed it

php删除文件夹下指定文件。要代码吧,谢谢,不要复制啊
比如upload文件夹下的111.txt

------解决方案--------------------
unlink('./upload/111.txt');//注意路径正确

不要复制啥意思?难道复制的就不能用?
------解决方案--------------------
do{
echo "[书名]:{$sbxw['falsename']}删除该书{$sbxw['id']}
";
}while($sbxw = mysql_fetch_array($sql));

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template