cvs: phpdoc /en/reference/filesystem/functions mkdir.xml

From: Date: Fri, 03 Jan 2003 19:58:58 +0000
Subject: cvs: phpdoc /en/reference/filesystem/functions mkdir.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969350615@lists.php.net to get a copy of this message
nicos Fri Jan 3 14:58:58 2003 EDT Modified files: /phpdoc/en/reference/filesystem/functions mkdir.xml Log: fixing #18293, adding more informations about mode Index: phpdoc/en/reference/filesystem/functions/mkdir.xml diff -u phpdoc/en/reference/filesystem/functions/mkdir.xml:1.2 phpdoc/en/reference/filesystem/functions/mkdir.xml:1.3 --- phpdoc/en/reference/filesystem/functions/mkdir.xml:1.2 Wed Apr 17 02:38:09 2002 +++ phpdoc/en/reference/filesystem/functions/mkdir.xml Fri Jan 3 14:58:58 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.39 --> <refentry id="function.mkdir"> <refnamediv> @@ -11,7 +11,7 @@ <methodsynopsis> <type>int</type><methodname>mkdir</methodname> <methodparam><type>string</type><parameter>pathname</parameter></methodparam> - <methodparam><type>int</type><parameter>mode</parameter></methodparam> + <methodparam>[<type>int</type><parameter>mode</parameter>]</methodparam> </methodsynopsis> <para> Attempts to create the directory specified by pathname. @@ -21,6 +21,13 @@ octal number, which means it should have a leading zero. The mode is also modified by the current umask, which you can change using <function>umask</function>. + + Mode is NOT needed on Windows. + + Please note also that mode is optional and that + it is by default '0777' (read, write and execution for EVERY + access). If you need more informations about mode under + UNIX systems, please read 'man 1 chmod' and 'man 2 chmod'. <informalexample> <programlisting role="php"> <![CDATA[

« previous php.doc (#969350615) next »