Re: Directory Permissions?
| From: | Chris Shiflett | Date: | Wed, 26 Feb 2003 17:04:41 +0000 |
| Subject: | Re: Directory Permissions? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137269@lists.php.net to get a copy of this message | ||
--- Jay Paulson <jpaulson@lbjs.com> wrote:
> I was running fileperms() function to find out what a directory is
> chmod'ed to.
Just so you know, chmod is "change mode". I understand what you mean, though;
you are wanting to know the permissions of a directory.
> However, this doesn't return anything because it has to check a file.
Are you sure that is why? Be sure before you start telling us what is wrong. I
disagree with your assumption here.
> My question is there a function that will return what a directory is
> chmod'ed to?
The one you tried works just fine:
http://www.php.net/manual/en/function.fileperms.php
Chris