note 128728 added to function.mkdir
| From: | chelidze dot givia at gmail dot com | Date: | Wed, 12 Jul 2023 21:44:56 +0000 |
| Subject: | note 128728 added to function.mkdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220687@lists.php.net to get a copy of this message | ||
When creating a file using mkdir() the default root will be the DocumentRoot (in XAMPP) itself.
C:\xampp\htdocs\project/includes/something.php
If you use mkdir("myfile") in something.php, instead of creating the folder in includes,
php will create it in the project folder
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.159.168 (proxied: 188.169.77.79)
----
Manual Page -- https://php.net/manual/en/function.mkdir.php
Edit -- https://main.php.net/note/edit/128728
Del: integrated -- https://main.php.net/note/delete/128728/integrated
Del: useless -- https://main.php.net/note/delete/128728/useless
Del: bad code -- https://main.php.net/note/delete/128728/bad+code
Del: spam -- https://main.php.net/note/delete/128728/spam
Del: non-english -- https://main.php.net/note/delete/128728/non-english
Del: in docs -- https://main.php.net/note/delete/128728/in+docs
Del: other reasons-- https://main.php.net/note/delete/128728
Reject -- https://main.php.net/note/reject/128728
Search -- https://main.php.net/manage/user-notes.php