Re: mkdir
| From: | mike cullerton | Date: | Sat, 28 Jul 2001 14:31:10 +0000 |
| Subject: | Re: mkdir | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-60049@lists.php.net to get a copy of this message | ||
On Sat, 28 Jul 2001, Jerry Lake wrote:
> when using mkdir
> I cant seem to make subdirectories
> <?
> $oldumask = umask(0);
> mkdir('test/test', 0777);
> umask($oldumask);
> ?>
>
> is there any way to do this ?
does the first test directory already exist? you may need to make them in
two steps. i believe mkidir has a switch to force it to create any needed
directories along the way.
-- mike cullerton