PHP chgrp () function _php Tutorial

Source: Internet
Author: User
PHP chgrp () function chgrp
(PHP 4, PHP 5)

CHGRP-changing filegroups

Describe
Boolean chgrp (string $ file name, mixed $ group)
Attempt to change the group's file filename group.

Only supervisor can change any one of the files in the group, and the other user may be changing the group's files to any one of the groups that the user is a member of.

Parameters

Filename
The file path.

Group
Group a name or number.


return value
Returns TRUE or FALSE for successful failure.

Instance

For example # 1 change the group of files

http://www.bkjia.com/PHPjc/445493.html www.bkjia.com true http://www.bkjia.com/PHPjc/445493.html techarticle php chgrp () function Chgrp (PHP 4, PHP 5) chgrp-Change the filegroup description Boolean CHGRP (string $ file name, mixed $ group) attempt to change the group's file filename group. Only ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.