filegroup

(PHP 3, PHP 4 )

filegroup -- Gets file group

Description

int filegroup ( string filename)

Returns the group ID of the file, or FALSE in case of an error. The group ID is returned in numerical format, use posix_getgrgid() to resolve it to a group name.

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

Note: This function will not work on remote files; the file to be examined must be accessible via the server's filesystem.