Home  >  Article  >  Backend Development  >  php chgrp() 函数_PHP教程

php chgrp() 函数_PHP教程

WBOY
WBOYOriginal
2016-07-20 11:00:361072browse

php chgrp() 函数   chgrp
( PHP 4中, PHP 5中)

chgrp -改变文件组

描述
布尔chgrp (字符串$文件名,混合$组)
企图改变组的档案filename组。

只有Supervisor可以改变组任意一个文件,其他用户可能会更改组的文件,以任何一组该用户是一个成员。

参数

文件名
文件路径。


A组姓名或号码。


返回值
返回TRUE或FALSE的成功失败。

实例

例如# 1更改文件的组

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/445493.htmlTechArticlephp chgrp() 函数chgrp ( PHP 4中, PHP 5中) chgrp -改变文件组 描述 布尔chgrp (字符串$文件名,混合$组) 企图改变组的档案filename组。 只有...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn