PHP chown () function

Definition and Usage

chown () function changes the owner of the specified file.

If successful it returns TRUE, if FALSE on failure.

grammar

chown(file,owner)

 

参数 描述
file 必需。规定要检查的文件。
owner 必需。规定新的所有者。可以是用户名或用户的 ID。

 


Examples

Guess you like

Origin www.cnblogs.com/furuihua/p/11670780.html