PHP fileowner() Function

The fileowner() function returns the user ID (owner) of the specified file.This function returns the user ID on success or FALSE on failure.

int fileowner ( string $filename )

Gets the file owner.

Example -

ParameterDescription
filenameRequired. Specifies the file to check

Note -

The results of this function are cached. Use clearstatcache() to clear the cache.