RE: [PHP] How to use PHP to view the file permision???
| From: | Roger B.A. Klorese | Date: | Mon, 08 Dec 2003 21:28:41 +0000 |
| Subject: | RE: [PHP] How to use PHP to view the file permision??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172174@lists.php.net to get a copy of this message | ||
> Um, not sure what this meant with the fileperms() function.
> I have file
> permission as "-rw-r--r--" or "644" and when using hte
> fileperms() funciton,
> it spitted a result as "33188". If you know what it is then
> I'm all ear!
33188 (base 10) == 0x100644 (base 8).