Home  >  Article  >  Backend Development  >  php 文件状态缓存带来的问题_PHP教程

php 文件状态缓存带来的问题_PHP教程

WBOY
WBOYOriginal
2016-07-21 15:48:41909browse

stat(),lstat(),file_exists(),is_writable(),is_readable(),is_executable(),is_file(),is_dir(),is_link(),filectime(),fileatime(),filemtime(),fileinode(),filegroup(),fileowner(),filesize(),filetype() , fileperms()

解决办法:在使用这些函数前,使用clearstatcache ( ) 清除缓存带来的影响

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/319689.htmlTechArticlestat(),lstat(),file_exists(),is_writable(),is_readable(),is_executable(),is_file(),is_dir(),is_link(),filectime(),fileatime(),filemtime(),fileinode(),fileg...
Statement:
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