note 26518 deleted from function.fileperms by aidan
| From: | aidan@php.net | Date: | Sat, 10 Jul 2004 13:27:20 +0000 |
| Subject: | note 26518 deleted from function.fileperms by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-72996@lists.php.net to get a copy of this message | ||
Note Submitter: support at moduletown dot com
----
use this to get permissions on current dir:
$decperms = fileperms(".");
$octalperms = sprintf("%o",$decperms);
$perms=(substr($octalperms,1));