Re: How to use PHP to view the file permision???
| From: | Scott Fletcher | Date: | Mon, 08 Dec 2003 21:45:26 +0000 |
| Subject: | Re: How to use PHP to view the file permision??? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172175@lists.php.net to get a copy of this message | ||
What's the function for converting it to base 8 ???
Thanks!!!!
"Roger B.A. Klorese" <rogerk@queernet.org> wrote in message
news:7CEFA9CA4D5BE74586551915EC9C9C33527842@consera1.corpnet.consera.com...
> > 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).