Bug #18293 Updated: mkdir does not give any explanation of mode parameter

From: Date: Sun, 14 Jul 2002 12:35:11 +0000
Subject: Bug #18293 Updated: mkdir does not give any explanation of mode parameter
References: 1  Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-14136@lists.php.net to get a copy of this message
ID: 18293 Updated by: leblanc@somewhere.com Reported By: phpbugs@priorwebsites.com Status: Open Bug Type: Documentation problem Operating System: Windows XP Home Edition PHP Version: 4.2.1 New Comment: on NT/windows... just put 0777 note that the 0 before is needed as it is octal ;) Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#14136) next »