Posted by jkmambo on 11/22/06 03:03
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.
>
> --
> Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
> http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Here is the statement I am running
chmod(./directoryname/, 0777)
Navigation:
[Reply to this message]
|