unlink()

WBOY
Release: 2016-06-23 13:48:18
Original
804 people have browsed it

用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