note 80549 added to function.mkdir
| From: | p-garcia at uniandes dot edu dot co | Date: | Tue, 22 Jan 2008 01:45:36 +0000 |
| Subject: | note 80549 added to function.mkdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135299@lists.php.net to get a copy of this message | ||
After a long time trying to catch the cause of the warning: "mkdir() [function.mkdir]: No such
file or directory", I finally realized that this function is not recursive; I mean, that if you
want to create the folder -for example- c:\temp\t1\t2, you must do:
mkdir("c:\\temp\\t1") ;
mkdir("c:\\temp\\t1\\t2") ;
because mkdir is not like the windows mkdir where you can acomplish this in one single step.
----
Server IP: 69.147.83.197
Probable Submitter: 157.253.19.244
----
Manual Page -- http://www.php.net/manual/en/function.mkdir.php
Edit -- https://master.php.net/note/edit/80549
Del: integrated -- https://master.php.net/note/delete/80549/integrated
Del: useless -- https://master.php.net/note/delete/80549/useless
Del: bad code -- https://master.php.net/note/delete/80549/bad+code
Del: spam -- https://master.php.net/note/delete/80549/spam
Del: non-english -- https://master.php.net/note/delete/80549/non-english
Del: in docs -- https://master.php.net/note/delete/80549/in+docs
Del: other reasons-- https://master.php.net/note/delete/80549
Reject -- https://master.php.net/note/reject/80549
Search -- https://master.php.net/manage/user-notes.php