Re: How to use PHP to view the file permision???

From: Date: Mon, 08 Dec 2003 21:48:12 +0000
Subject: Re: How to use PHP to view the file permision???
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-172176@lists.php.net to get a copy of this message
Alright found it. it is base_convert, just use ... --snip-- echo base_convert($filename,8,10); --snip-- Cheer! "Scott Fletcher" <scott@abcoa.com> wrote in message news:20031208213529.80650.qmail@pb1.pair.com... > 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).

« previous php.general (#172176) next »