Easy Tutorial
❮ Func String Strrev Func Xml Set External Entity Ref Handler ❯

PHP chown() Function



Definition and Usage

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

It returns TRUE on success and FALSE on failure.

Syntax

Parameter Description
file Required. Specifies the file to check.
owner Required. Specifies the new owner. Can be a username or user ID.

Examples


❮ Func String Strrev Func Xml Set External Entity Ref Handler ❯