On Tuesday 09 December 2003 02:19, Scott Fletcher wrote:
Looked up on the manual about the chmod() function for PHP, nice but it
wouldn't work if the ownership file permission is set, so that bring up a
question. How do I view the file permission or folder permission to see if
it have
Looked up on the manual about the chmod() function for PHP, nice but
it
wouldn't work if the ownership file permission is set, so that bring up
a
question. How do I view the file permission or folder permission to see
if
it have the neccessnary permission before proceeding. That
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!
Don't know what the hell is 33188 stand for, so will stick to easier
functions,
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).
--
PHP General Mailing List
What's the function for converting it to base 8 ???
Thanks
Roger B.A. Klorese [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
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,
Alright found it. it is base_convert, just use ...
--snip--
echo base_convert($filename,8,10);
--snip--
Cheer!
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
What's the function for converting it to base 8 ???
Thanks
Roger B.A. Klorese [EMAIL PROTECTED]
6 matches
Mail list logo