Re: Newbie Help - mkdir problem



Chris wrote:

> I'm trying to use mkdir() to make a directory with a mode of 0777 but it
> always gets created with 0755. How do I change it to 0777.
>

set umask=0000 before starting your webserver. Although you can set the
umask from PHP recommended practice is to use chmod after creating files /
dirs (RTFM for explanation)

C.
.



Relevant Pages