note 102913 added to function.fileperms
| From: | giorgio dot liscio at email dot it | Date: | Mon, 14 Mar 2011 19:05:26 +0000 |
| Subject: | note 102913 added to function.fileperms | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-177865@lists.php.net to get a copy of this message | ||
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
----
Server IP: 69.147.83.197
Probable Submitter: 87.7.144.204
----
Manual Page -- http://www.php.net/manual/en/function.fileperms.php
Edit -- https://master.php.net/note/edit/102913
Del: integrated -- https://master.php.net/note/delete/102913/integrated
Del: useless -- https://master.php.net/note/delete/102913/useless
Del: bad code -- https://master.php.net/note/delete/102913/bad+code
Del: spam -- https://master.php.net/note/delete/102913/spam
Del: non-english -- https://master.php.net/note/delete/102913/non-english
Del: in docs -- https://master.php.net/note/delete/102913/in+docs
Del: other reasons-- https://master.php.net/note/delete/102913
Reject -- https://master.php.net/note/reject/102913
Search -- https://master.php.net/manage/user-notes.php