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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to