CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
山寨机中的战斗机! 程序优化工程师到底对IT界有没有贡献
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  Web 开发 >  PHP

如何判断一个文件夹是否存在

楼主gunney(楚州才子)2002-07-30 20:13:36 在 Web 开发 / PHP 提问

如何判断一个文件夹是否存在 问题点数:20、回复次数:1Top

1 楼LeeMaRS(小菜虎,仍需努力)回复于 2002-07-30 20:23:42 得分 20

file_exists  
  (PHP   3,   PHP   4   )  
   
  file_exists   --   Checks   whether   a   file   exists  
  Description  
  bool   file_exists   (   string   filename)  
   
  Returns   TRUE   if   the   file   specified   by   filename   exists;   FALSE   otherwise.    
   
  This   function   will   not   work   on   remote   files;   the   file   to   be   examined   must   be   accessible   via   the   server's   filesystem.    
   
  The   results   of   this   function   are   cached.   See   clearstatcache()   for   more   details.    
   
  On   windows   use   "//computername/share/filename"   or   "\\\\computername\share\filename"   to   check   files   on   network   shares.    
   
  这个函数不但对文件适用,而且对目录也适用.Top

相关问题

  • 判断文件夹是否存在
  • 有没有判断文件夹是否存在的API函数?
  • 如何判断一个文件夹是否存在!在线等
  • 如何判断某一文件夹是否存在呢?
  • 如何判断文件夹是否存在
  • 如何判断一个文件夹是否存在?
  • 怎样判断一个文件夹是否已经存在?
  • 关于判断文件夹是否存在?
  • 判断某个文件夹是否存在是哪个函数?
  • 关于判断文件夹是否存在的问题

关键词

  • 文件夹
  • check
  • php
  • 文件夹是否存在
  • computername
  • exists
  • 适用
  • 判断一个
  • filename
  • shares

得分解答快速导航

  • 帖主:gunney
  • LeeMaRS

相关链接

  • Web开发类图书

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo