question on stat function
| From: | Jeffry Killen | Date: | Wed, 12 Mar 2014 20:48:41 +0000 |
| Subject: | question on stat function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-323050@lists.php.net to get a copy of this message | ||
question on stat function
from Wikipedia entry for stat function (in c):
The st_mode field is a bit field. It combines the file access modes and also indicates any special file type.
I believe that the entry for stat in php manual references this.
How would you interpret this to determine the files access perms?
(for the sake of custom error handling or whatever)