I can create single directories,
just not subdirectories. and only in
the directory the script is in
I'm guessing that it may be a permission
issue ...?

Jerry Lake  
Interface Engineering Technician
Europa Communications - http://www.europa.com
Pacifier Online     - http://www.pacifier.com


-----Original Message-----
From: mike cullerton [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 28, 2001 7:31 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] mkdir


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]



-- 
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