chown

(PHP3 , PHP4 )

chown -- change file owner

Description

int chown (string filename, mixed user)

Attempts to change the owner of the file filename to user user. Only the superuser may change the owner of a file.

Returns true on success; otherwise returns false.

Megjegyzés: On Windows, does nothing and returns true.

See also chown() and chmod().

Megjegyzés: This function does not work on Windows systems