note 16006 added to function.mkdir

From: Date: Fri, 12 Oct 2001 01:42:13 +0000
Subject: note 16006 added to function.mkdir
Groups: php.notes 
Request: Send a blank email to php-notes+get-18845@lists.php.net to get a copy of this message
Thought this might be handy for those running on a *nix type system. function mkdirs($mode, $path) { exec("mkdir -m $mode -p path"); } Note: Haven't tested this. But I'm sure some variation will work nicely. For more info check out "man mkdir" on your *nix box. -- http://www.php.net/manual/en/function.mkdir.php http://master.php.net/manage/user-notes.php?action=edit+16006 http://master.php.net/manage/user-notes.php?action=delete+16006 http://master.php.net/manage/user-notes.php?action=reject+16006

« previous php.notes (#18845) next »