多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
>[success] ### 判断类型 1.获取文件类型 A.使用函数 ~~~txt filetype($path) ~~~ B.函数介绍 [http://php.net/manual/zh/function.filetype.php](http://php.net/manual/zh/function.filetype.php) 2.获取文件大小 A.使用函数 ~~~txt filesize($path) ~~~ B.函数介绍 [http://php.net/manual/zh/function.filesize.php](http://php.net/manual/zh/function.filesize.php) 3.获取创建时间 A.使用函数 ~~~txt filectime($path) ~~~ B.函数介绍 [http://php.net/manual/zh/function.filectime.php](http://php.net/manual/zh/function.filectime.php) 4.获取访问时间 A.使用函数 ~~~txt fileatime($path) ~~~ B.函数介绍 [http://php.net/manual/zh/function.fileatime.php](http://php.net/manual/zh/function.fileatime.php) 5.获取路径中文件名 A.使用函数 ~~~txt basename($path) ~~~ B.函数介绍 [http://php.net/manual/zh/function.basename.php](http://php.net/manual/zh/function.basename.php)