|
Posted by Kim Andrι Akerψ on 11/22/06 14:01
jkmambo@gmail.com wrote:
> Andy Hassall wrote:
> > On 21 Nov 2006 11:37:08 -0800, johnmark@fastermail.com wrote:
> >
> > > How does one set directory permissions in PHP? The manual only
> > > refers to chmod function changing permissions for files. I try to
> > > use it for directories but it didn't work.
> >
> > In what way did it not work? Because that's the correct function
> > to use.
>
> Here is the statement I am running
> chmod(./directoryname/, 0777)
You ARE enclosing the directory path in quotes, right?
chmod("./directoryname/", 0777);
--
Kim AndrΓ© AkerΓΈ
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
Navigation:
[Reply to this message]
|