PHP Manual

PHP function fileowner()

2019-09-11T08:04:03.000Z

Obsah článku

Availability in PHP 4.0

Gets file owner

Parameters

Parameter Data type Default value Note
$filename string not Path to the file.

Return values

int

|bool the user ID of the owner of the file, or false on failure.
The user ID is returned in numerical format, use
posix_getpwuid to resolve it to a username.

Other resources

Official fileowner documentation

Jan Barášek   Více o autorovi

Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.

Rád vám pomůžu:

Související články

1.
13.

V jiných jazycích

Status:
All systems normal.
2025