note 44721 added to function.fileperms
| From: | jumo at _nospam_gmx dot de | Date: | Sat, 14 Aug 2004 03:38:42 +0000 |
| Subject: | note 44721 added to function.fileperms | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-74614@lists.php.net to get a copy of this message | ||
hi!
this function made me mad, because the manual doesn't tell you something about the type of the
value that this function returns.
it's dec!
i've think this is helpful:
[php]
$octal octdec( fileperms( $directoryorfile ) );
/* output e.g.:
10666
*/
[/php]
----
Manual Page -- http://www.php.net/manual/en/function.fileperms.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44721
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44721&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44721&report=yes
Search -- http://master.php.net/manage/user-notes.php