September 2001
Intermediate to advanced
768 pages
32h 45m
English
int fileperms(string filename) Retrieves file access permissions.
Returns:
File permissions; FALSE on error
Description:
Returns the access permissions 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:
$fileperms = fileperms("myfile");
echo ($fileperms);
|
Read now
Unlock full access