php 文件状态缓存带来的问题
分类:PHP
标签Tags:php,文件,状态,缓存,带来,问题,stat,lstat,file,exists,writable,readable,executable,dir,link,filectime,fileatime,filemtime,fileinode,filegroup
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 ( ) 清除缓存带来的影响
以上就是【php 文件状态缓存带来的问题】的全部内容了,欢迎留言评论进行交流!