note 102913 rejected from function.fileperms by danbrown
| From: | danbrown@php.net | Date: | Mon, 14 Mar 2011 19:05:50 +0000 |
| Subject: | note 102913 rejected from function.fileperms by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177867@lists.php.net to get a copy of this message | ||
Note Submitter: giorgio dot liscio at email dot it
----
all previous examples are not good
to show the octal representation of the function use:
substr(decoct(fileperms("test.html")),-4); // 0777
substr(decoct(fileperms("test.html")),-3); // 777