Home > php教程 > php手册 > body text

php chgrp() 函数

WBOY
Release: 2016-06-13 11:17:09
Original
1768 people have browsed it

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

chgrp -改变文件组

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

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

参数

文件名
文件路径。


A组姓名或号码。


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

实例

例如# 1更改文件的组

source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!