RE: [PHP] mkdir

From: Date: Mon, 30 Jul 2001 16:41:57 +0000
Subject: RE: [PHP] mkdir
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-60239@lists.php.net to get a copy of this message
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:php-l@bakednotfried.com] Sent: Saturday, July 28, 2001 7:31 AM To: php-general@lists.php.net 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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#60239) next »