最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
php文件操作的简单例子
时间:2010-08-05 编辑:简简单单 来源:一聚教程网
代码如下 | 复制代码 |
//获取文件的主要信息。 if(is_dir($file)) if(is_file($file)) if(is_readable($file)) if(is_writeable($file)) $file_name = basename($path); echo "完整路径:".$path; "; echo " "; echo "其中目录名为:".$dir_name; if(file_exists($file)) "; echo " "; if(file_exists($dir)) |
-
上一个: php获取客户端ip地址
-
下一个: php 正则表达式替换与正则替换函数
相关文章
- 简单谈谈 php 文件锁 04-19
- 简单的php操作word文件实现代码 07-25
- PHP导出数据超时的优化建议解读 10-31
- PHP之mysql位运算解析 10-31
- Laravel实现登录跳转功能解析 10-31
- php双向队列解读 10-31