RE: [PHP] PHP fileperms

From: Date: Wed, 19 Feb 2003 07:15:06 +0000
Subject: RE: [PHP] PHP fileperms
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136115@lists.php.net to get a copy of this message
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:dikshaneel@rediffmail.com] Sent: February 18, 2003 11:30 PM To: php-general@lists.php.net Subject: [PHP] PHP fileperms HI ALL, i am getting the result as 644 when i execute the following command. can anyone please tell me what file permission does 644 stand for and what should i do to make my file readable? $filename = '\bdoi_change\sundar.html'; printf("%o",(fileperms("\bdoi_change\andar.html") & 0777)); regards, diksha. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#136115) next »