Creates (makes) a directory.
"dirname" specifies path of the directory to be created. Please note
that this function creates only ONE directory at a time. So if you want
to create nested directory tree you have to call it multiple times, for
example to create C:MyDirectoryMySubDirectory folder you have to call it
twice:
fmkdir( "C:\\MyDirectory" ); fmkdir(
"C:\\MyDirectory\\MySubDirectory" );
Note also that it is safe to call it even if directory already exists
(then no change to file system is applied)
Returns TRUE if directory successfully created, FALSE otherwise
|