note 129007 added to function.mkdir
| From: | MAMEDULISALM at main dot php dot net | Date: | Mon, 06 Nov 2023 23:11:39 +0000 |
| Subject: | note 129007 added to function.mkdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220963@lists.php.net to get a copy of this message | ||
To create nested folder In windows OS use suppressor @.
This suppressor will handle user type errors also.
$path = 'testpath\nested1\nested2\nested3\';
@mkdir( $path, '0777', TRUE);
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.157.134 (proxied: 37.111.223.98)
----
Manual Page -- https://php.net/manual/en/function.mkdir.php
Edit -- https://main.php.net/note/edit/129007
Del: integrated -- https://main.php.net/note/delete/129007/integrated
Del: useless -- https://main.php.net/note/delete/129007/useless
Del: bad code -- https://main.php.net/note/delete/129007/bad+code
Del: spam -- https://main.php.net/note/delete/129007/spam
Del: non-english -- https://main.php.net/note/delete/129007/non-english
Del: in docs -- https://main.php.net/note/delete/129007/in+docs
Del: other reasons-- https://main.php.net/note/delete/129007
Reject -- https://main.php.net/note/reject/129007
Search -- https://main.php.net/manage/user-notes.php