unlink(),该怎么解决

WBOY
Release: 2016-06-13 12:06:50
Original
1123 people have browsed it

unlink()
用unlink删除文件的时候文件名必须包含扩展名吗!!!!
------解决思路----------------------
加吧 不加没试过
------解决思路----------------------
完整的文件名

如果

1.jpg  1.php 1.fun.php  

那不是乱套了?
------解决思路----------------------
那是必须的,不加后缀怎么行?
------解决思路----------------------
他是针对一个文件的操作,你不加他怎么知道你要删除哪个?
------解决思路----------------------
unlink是针对文件(带有扩展名)

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!