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...