Re: file permission
| From: | Marko Vukovic' | Date: | Wed, 30 Aug 2000 11:08:40 +0000 |
| Subject: | Re: file permission | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14381@lists.php.net to get a copy of this message | ||
Worawisut Pinyoyang wrote:
>
> and if i'd like to change the file permission.How can i do because the old
> permission is 444 (owner and group are nobody).
>
> Thanks
> Worawisut
>
> On Wed, 30 Aug 2000, Marko Vukovic' wrote:
>
> > I don't think it's a permissions issue.
> > Why not just use this function: file_exists(string filename); to check whether the file is
> > there first.
> > --
> > Marko
chmod( "/somedir/somefile", 444 );
straight from the manual :)
--
Marko