当前位置: 首页> 函数类别大全> fileowner

fileowner

获取文件所有者
名称:fileowner
分类:文件系统
所属语言:php
一句话介绍:文件的 user ID (所有者)。

实例

<span class="token php language-php"><span class="token delimiter important"><?php</span>
<span class="token keyword">echo</span> <span class="token function">fileowner</span><span class="token punctuation">(</span><span class="token string double-quoted-string">"test.txt"</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>
同类函数
  • 判断文件是否存在且可读  is_readable

    is_readable

    判断文件是否存在且可读
  • 更改文件所有者  chown

    chown

    更改文件所有者
  • 返回文件指针读/写的位置  ftell

    ftell

    返回文件指针读/写的位置
  • 将整个文件读入一个字符串  file_get_contents

    file_get_contents

    将整个文件读入一个字符串
  • 取得文件的组  filegroup

    filegroup

    取得文件的组
  • 重命名文件或目录  rename

    rename

    重命名文件或目录
  • 判断给定文件名是否是一个目录  is_dir

    is_dir

    判断给定文件名是否是一个目录
  • 打开进程文件指针  popen

    popen

    打开进程文件指针
热门文章