<?php
header("content-type:text/html;charset=utf-8");
/* *声明一个函数,传入文件名获取文件属性 *@param string $fileName 文件名称 */
function getFilePro($fileName){
if(!file_exists($fileName)){
echo '文件不存在<br/>'; return;
}
/*是否是普通文件*/
if(is_file($fileName)){
echo $fileName.'是一个文件<br/>';
}
/*是否是目录*/
if(is_dir($fileName)){
echo $fileName.'是一个目录';
}
/*输出文件的型态*/
echo '文件型态是:'.getFileType($fileName).'<br/>'; /*文件大小,转换单位*/
echo '文件大小是:'.getFileSize(filesize($fileName)).'<br/>'; /*文件是否可读*/
if(is_readable($fileName)){
echo '文件可读<br/>';
}
/*文件是否可写*/
if(is_writable($fileName)){
echo '文件可写<br/>';
}
/*文件是否可执行*/
if(is_executable($fileName)){
echo '文件可执行<br/>';
}
echo '文件创立时间:'.date('Y年m月j日',filectime($fileName)).'<br/>';
echo '文件最后修改时间:'.date('Y年m月j日',filemtime($fileName)).'<br/>';
echo '文件最后打开时间:'.date('Y年m月j日',fileatime($fileName)).'<br/>'; } /* *声明一个函数,返回文件类型 *@param string $fileName 文件名称 */
function getFileType($fileName){ $type = '';
switch(filetype($fileName)){
case 'file':$type .= '普通文件';break;
case 'dir':$type .= '目录文件';break;
case 'block':$type .= '块设备文件';break;
case 'char':$type .= '字符设备文件';break;
case 'filo':$type .= '管道文件';break;
case 'link':$type .= '符号链接';break;
case 'unknown':$type .= '未知文件';break;
default:
}
return $type;
}
/* *声明一个函数,返回文件大小 *@param int $bytes 文件字节数 */
function getFileSize($bytes){
if($bytes >= pow(2,40)){
$return = round($bytes / pow(1024,4),2);
$suffix = 'TB';
}else if($bytes >= pow(2,30)){
$return = round($bytes / pow(1024,3),2);
$suffix = 'GB';
}else if($bytes >= pow(2,20)){
$return = round($bytes / pow(1024,2),2);
$suffix = 'MB';
}else if($bytes >= pow(2,10)){
$return = round($bytes / pow(1024,1),2);
$suffix = 'KB';
}else{
$return = $bytes;
$suffix = 'B';
}
return $return." ".$suffix;
}
/*调用函数,传入test目录下的test.txt文件*/
getFilePro('./yun/send.php');
?>

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAATsAAADmCAIAAAAlabXVAAAes0lEQVR4nO2d/XdcR3nH9+/pod1zeigtBQothXJooOSElxOSTYPzQjAh1ISmEBowx5zApj8oOG3avCCIwAIpzmZtKcSOJWVtWY7jF9nGV7JNbEuyY1tvlrW7siWtZLY/7O7deXlm7tzde/fuXH0/Z86xdffOy52d7zwzc2eeTcwUSggICLaExHS+ZB6uLa46F2eGjp7d9fbxnj2Hunbv79q9v2fPoV1vHx88csa5OHNtcdVXgggICL6CqWInZ4tDR8/u6B/ODh45OjYxee36zEKxsFwqLJdmFooTV+ePjk3sGjratXv/0NGzU3NLkT8YAkIsQ2I6v6YP1xZLwycu7Ogfzh0dn7txc7n0J024nl8+cPxs1+79bx/745WFFc/EERAQfIXEtXxJEybnljIDR/pyx69dL94q3TYMMzeW3jx48tW33p2YLerTR0BA8BUS1xZLqjA+Od/9xsjw8bPFlfWbq7d9heLK+jt/uPDfO97o7j/Yt/8EAgJCIEGp2MmZpa7dB46NT/rVKhtOn7/S3bc/X1xaBwAEQeJafk0OVxdLvW8dzh07c3P1T02GkZPnswPvrq2tlwEATZO4uliSw9vHzmUGjhSX15dWbjcf+nKjh0+eDbzoc3NzgacJQJuTuLJYEsLFmaVfZXOXZvPFldueoavn9e6dffp7rswXu3a/nV+6FWzRHccJNkEA2h9CsXsPj+87fNpErtueeTb515/4iw994vmXf62/8+1jZ3JHxjTlWFtbGxsbO3DgQDabzWazBw4cGBsbW1tb00SBYsEGJHFlcY0N798o/TKbu3p9qbByWx9+8syzf/P3/3zHl7/22S/e98GPfiq/vK65eWZx+ReZwfXbt8lCTE1NDQ8Pj46OHjt27PTp06Ojo/Pz8z09PYODg5OTk6qiQ7FgA5J4/0aJDSfOT/fseaewfFsffvLMsx/+hzvuvPfhux/6t8/d/cAr3a95Rnlt35GJ94mZ59TU1NDQ0MrKyuLi4tjYWE9PT3d3d39/f3d3dyaTyWQy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XCsWK+9Zjpli6nJphojtLYyoxuHlsW42KG7WxYgZMWsEplrmbOK2mUidxm6/600+FhWk98Tw6xerwOk3FzdvYjkz+JqxXLNUe5SuVp2kfX4p8FFXbCHgeKyQZtGJ9Ic0Z5e/LW7HVu6hTrQ58KUZCbH0pugVl40sPZT6hltogbWO5qtEpVtGsA1IstezUsGLhS1FuidERW1+KtabV8lGxcoW8ZTaWHfcxVxoZFSsWdDXrBGGNihtRrFwR0iXq7zjY2HK5zMjEY8pgZGOFJF1DE6wvRXXOmrI2O4914EvRcOWJ6vxVivUafUt5khWhMrncWCs2ijWRrH/FynpkLypWnMNVLPFBe6w8eUO+nykTLVX5bo5cniBsrP9phJQ8OVpTKNZkZGdQEQrF8o0wDoqtfD3seFNRfU3b2Cx7t5Ba/c9QFUslbrjypC1N6G935JVP1YeKFWCymXMXaQsullFbfs1qmHuZfDWhzlbMU1MRXEsmbrVesbWmpRhzkF1yszaWTV6cjDEtvmnFKu2ioov3bWPV63UNrntqFUsbPdGuEpcVI07RGJIx/ZVfSIpa46JLrxeskKdnRfCP6zGmMP6wVcTXl6JinZiNSs7jyEf28V1xDyb2/N7jXbO72pdg1ro5VEN99oaghBSfteIW4KQD96XoB8VIsV6MZr8rnRZ1/YhdBK9YVb2xdRZYjvbaWABAOwLFAmATUCwANgHFAmATUCwANgHFAmATUCwANgHFAmATUCwANgHFAmATUCwANvH/Rv11fDRRYHAAAAAASUVORK5CYII=" alt="" />

PHP常用技术文之文件操作和目录操作总结的更多相关文章

  1. 无缓冲文件IO和目录操作

    引言 在后台开发中,对于文件I/O我们通常不使用C语言封装的fopen.fread.fwrite标准I/O,而是直接使用Linux提供的系统调用函数.因为这些系统调用没有使用用户缓冲区,我们直接与内核 ...

  2. 【JEECG技术文档】JEECG部门管理员操作手册

    功能介绍 使用部门管理员设置需要完成以下步骤: 1. 在“部门管理员设置”菜单配置权限以及分配管理员. 2. 在“部门角色管理”菜单配置角色,以及权限. 3. 在“部门用户角色授权”菜单分配角色到哪个 ...

  3. 【springboot】之常用技术文档

    https://www.ibm.com/developerworks/cn/java/j-lo-spring-boot/index.html

  4. linux 文件操作与目录操作

    文件操作 使用命令 命令格式: 命令 [选项] [参数] [] 表示可选的 示例: ls -a /etc 常识命令 ls:查看指定目录的内容,不指定目录时查看当前工作目录 选项 说明 -a 显示所有文 ...

  5. PHP文件相关的操作函数——目录操作

    1.有关文件类型的函数 PHP是以UNIX的文件系统为模型的,因此在Windows系统中我们只能获得“file”.“dir”或者“unknown”三种文件类型.而在UNIX系统中,我们可以获得“blo ...

  6. 说说Python 中的文件操作 和 目录操作

    我们知道,文件名.目录名和链接名都是用一个字符串作为其标识符的,但是给我们一个标识符,我们该如何确定它所指的到底是常规文件文件名.目录名还是链接名呢?这时,我们可以使用os.path模块提供的isfi ...

  7. 【1】C#文件操作之目录操作

    命名空间:System.IO Directory类下的静态方法: 一.创建目录 Directory.CreateDirectory(string fileName); 二.获取指定目录下的所有文件名 ...

  8. PHP 文件与目录操作函数总结

    >>>文件操作 打开 fopen();    打开文件 读取内容 fread();    从文件指针 handle 读取最多 length 个字节 readfile();    读入 ...

  9. Linux操作系统常用命令合集——第一篇-文件和目录操作(40个命令)

    一.选项和参数的区别        在经过上一次的系统安装后我们已经成功登陆,登陆LInux后,我们就可以在#或$符后面去输入命令,有的时候命令后面还会跟着“选项”(英文名:options)或“参数” ...

随机推荐

  1. javascript设计模式:构造器模式学习一

    javascript 设计模式1.简介javascript是一种弱类型语言,不过类可以通过函数模拟出来最常见的实现方法如下:function Car(model){ this.model = mode ...

  2. ASP.NET MVC 自定义Razor视图WorkContext

    概述 1.在ASP.NET MVC项目开发的过程中,我们经常需要在cshtml的视图层输出一些公用信息 比如:页面Title.服务器日期时间.页面关键字.关键字描述.系统版本号.资源版本号等 2.普通 ...

  3. Intellij IDEA 14使用maven3.3.3 问题

    Intellij IDEA 14使用maven3.3.3报错: -Dmaven.multiModuleProjectDirectory system propery is not set. Check ...

  4. Directshow开发播放器相关介绍

    原文地址:http://www.cnblogs.com/qiufa/archive/2006/12/19/596949.html DirectShow技术是DirectX推出的建立在DirectDra ...

  5. C#:消息框

    using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.W ...

  6. SIP/2.0 403 Forbidden(Invalid domain in From: header)

    一.错误场景 FreeSWITCH通过网关和一台支持SIP的网关设备互联,一个呼叫发过去,收到这个错误. FreeSWITCH的地址是192.168.1.99. 网关设备的地址是192.168.1.2 ...

  7. laravel的cookie操作

    前提你的整个http流程一定要走完,页就是必须走到view()或Response,你写到中间中断调试,cookie是设置不上去的......(坑~~) 读取: $value = Cookie::get ...

  8. 开发avr单片机网络资源

    1.avr用的c语言标准库 http://www.nongnu.org/avr-libc/ 2.avr的下载上传器 http://www.nongnu.org/avrdude/ 3.编程环境platf ...

  9. Python中的strip()的理解

    在看到Python中strip的时候产生了疑问 strip() 用于移除字符串头尾指定的字符(默认为空格) 开始测试: >>> s = 'ncy_123.python' >&g ...

  10. Nginx 0.8.x + PHP 5.2.13(FastCGI)搭建胜过Apache十倍的Web服务器(第6版)[原创]

    mkdir -p /data0/software cd /data0/software wget http://sysoev.ru/nginx/nginx-0.8.46.tar.gz wget htt ...