note 16006 modified in function.mkdir by vincent

From: Date: Sat, 16 Aug 2003 21:34:33 +0000
Subject: note 16006 modified in function.mkdir by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-54496@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. --was-- 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

« previous php.notes (#54496) next »