September 2001
Intermediate to advanced
768 pages
32h 45m
English
int fileowner(string filename) Retrieves the file owner’s ID.
Returns:
User ID of the file owner; FALSE on error
Description:
Returns the user ID of the specified file. This function doesn’t produce meaningful results on systems not supporting UNIX-like filesystems.
Note:
The results of this function are cached. See clearstatcache() for details.
Example:
$fileowner = fileowner("myfile");
echo ($fileowner);
|
Read now
Unlock full access