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[



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to