Home > Backend Development > PHP Tutorial > php chgrp() function_PHP tutorial

php chgrp() function_PHP tutorial

WBOY
Release: 2016-07-20 11:00:36
Original
1199 people have browsed it

php chgrp() function ​ chgrp
(PHP 4, PHP 5)

chgrp - change filegroup

Description
boolean chgrp (string $filename, mix$group)
An attempt was made to change the filename group of the group.

Only the Supervisor can change any group's files; other users may change the group's files to any group that the user is a member of.

Parameters

File name
File path.

Group
Group A name or number.


Return value
Returns TRUE or FALSE on success or failure.

Example

Example #1 Change the group of a file

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445493.htmlTechArticlephp chgrp() function chgrp (PHP 4, PHP 5) chgrp - Change file group description Boolean chgrp ( string$filename,mixed$group) An attempt was made to change the group of an archive filename to group. Only...
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template