php chgrp() function_PHP tutorial

WBOY
Release: 2016-07-20 11:00:36
Original
1165 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!