Here is how the numbers work for file permissions.
644 = "rw-r--r--"
0 --- no access
1 --x execute
2 -w- write
3 -wx write and execute
4 r-- read
5 r-x read and execute
6 rw- read and write
7 rwx read write execute
-Original Message-
From: DIKSHA NEEL [mailto:[EMAIL PROTECTED]]
S
At 13:59 18.02.2003, DIKSHA NEEL said:
[snip]
>hi all,
>
>the file permission command is not working.
>any idea why?
>
>$filename = '\bdoi_change\andar.html';
>
>printf("%0",(fileperms("\bdoi_change\andar.html") & 0777));
[snip]--
2 matches
Mail list logo