#18293 [Asn->Csd]: mkdir does not give any explanation of mode parameter
| From: | nicos@php.net | Date: | Fri, 03 Jan 2003 20:03:03 +0000 |
| Subject: | #18293 [Asn->Csd]: mkdir does not give any explanation of mode parameter | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969350617@lists.php.net to get a copy of this message | ||
ID: 18293
Updated by: nicos@php.net
Reported By: phpbugs@priorwebsites.com
-Status: Assigned
+Status: Closed
Bug Type: Documentation problem
Operating System: Windows XP Home Edition
PHP Version: 4.2.1
Assigned To: nicos
New Comment:
It has been fixed and the documentation will be updated soon.
Thank for your report.
Previous Comments:
------------------------------------------------------------------------
[2003-01-02 20:03:51] nicos@php.net
Assigned, nicos.
------------------------------------------------------------------------
[2002-07-14 08:35:11] leblanc@somewhere.com
on NT/windows... just put 0777
note that the 0 before is needed as it is octal ;)
------------------------------------------------------------------------
[2002-07-12 03:39:39] phpbugs@priorwebsites.com
The 'mkdir()' function documentation does not give any idea what the
'mode' value should take, nor any links to other parts of the
documentation where 'mode' is explained.
Maybe it's a UNIX thing (I am from the Windows world - somebody has to
do it)? I had a search for mode, and could not find what I wanted. In
the end, for my code, I just stuck the value '0700' from the example
and that seems to work. But it's hardly a good way to code eh?
Please put some explanation of what mode is, and the possible values it
can take, and what each of the values mean, either in the mkdir
documentation (or if it exists clearly explained elsewhere in the PHP
docs, then a link to that section).
Thanks for all the work you folks do!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18293&edit=1