Forum und email

fileowner

(PHP 4, PHP 5)

fileowner — Gets file owner

Description

int fileowner ( string $filename )

Gets the file owner.

Parameters

filename

Path to the file.

Return values

Returns the user ID of the owner of the file, or FALSE in case of an error. The user ID is returned in numerical format, use posix_getpwuid() to resolve it to a username.

Notes

Note: Tämän funktion tulokset tallennetaan välimuistiin. Katso tarkemmat tiedot clearstatcache() sivulta.

Tip

PHP 5.0.0 versiosta lähtien tämä funktio tukee myös joitakin URL tyyppejä. Katso myös List of Supported Protocols/Wrappers.

See Also