Definition :
The PHP fileperms() function returns permissions for the given file.
Note: The results of this function are cached. Use clearstatcache() function to clear the cache.
fileperms(filename)
Parameter | Description |
---|---|
filename | Required. Specifies the path to the file to check |
Given below example Return the file permissions for "demo.txt":
Output : 33206