Phpchown function _ PHP Tutorial

Source: Internet
Author: User
Phpchown function. The chown () function is used to change the permissions of a specified object. If TRUE or FALSE is returned, the operation fails. Syntax chown (file, owner) defines and uses the chown () function to define and use the chown () function to change the permissions of a specified file. If TRUE or FALSE is returned, the operation fails. Syntax chown (file, owner)

Definition and usage
This chown () function is used to change the permissions of a specified object.

If TRUE or FALSE is returned, the operation fails.

Syntax

chown(file,owner)
 
Parameter
Description
File Required. Specified check file
Owner Required. Specify a new owner. It can be a user name or user ID.
Let's look at a simple chown example.
 
 
 
The tutorial is complete. Please indicate from www.111cn.cn/phper/php.html

The assign () function is used to change the permissions of a specified object. If TRUE or FALSE is returned, the operation fails. Syntax chown (file, owner) is used to define and use the chown () function...

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.