note 30186 added to function.mkdir
| From: | jernberg at fairytale dot se | Date: | Mon, 10 Mar 2003 00:24:30 +0000 |
| Subject: | note 30186 added to function.mkdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45049@lists.php.net to get a copy of this message | ||
an small note, i have noticed that sometimes mkdir doesnt create the dir with the correct attributes
a chmod afterwards will fix that problem,
mkdir( "/tmp/hello", 0777 );
chmod( "/tmp/hello", 0777 );
--
http://www.php.net/manual/en/function.mkdir.php
http://master.php.net/manage/user-notes.php?action=edit+30186
http://master.php.net/manage/user-notes.php?action=delete+30186
http://master.php.net/manage/user-notes.php?action=reject+30186