note 2719 deleted from function.fileperms by aidan
| From: | aidan@php.net | Date: | Sat, 10 Jul 2004 13:28:00 +0000 |
| Subject: | note 2719 deleted from function.fileperms by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-73004@lists.php.net to get a copy of this message | ||
Note Submitter: dave@istream.net
----
Since an octal number is just that:
a number then the integer returned is the permissions on the file,
whether read bitwise as described above or put int octal mode like so:
<pre>
sprintf($octalperms,"%o",$perms);
</pre>