Forum und email

fileowner

(PHP 4, PHP 5)

fileowner — Leest de eigenaar van een bestand uit

Beschrijving

int fileowner ( string $filename )

Geeft het ID aan van de gebruiker van de eigenaar van het bestand, of FALSE in het geval van een fout. Het ID van de gebruiker wordt gegeven in numeriek formaat. Gebruik posix_getgrgid() om de gebruikersnaam op te vragen.

Note: The results of this function are cached. See clearstatcache() for more details.

Note: This function will not work on remote files as the file to be examined must be accessible via the servers filesystem.

Zie ook stat().