Re: cvs: phpdoc /en/reference/filesystem/functions mkdir.xml
| From: | Derick Rethans | Date: | Fri, 03 Jan 2003 20:04:01 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/filesystem/functions mkdir.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969350618@lists.php.net to get a copy of this message | ||
On Fri, 3 Jan 2003, CHAILLAN Nicolas wrote:
> 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>
This is not valid, please fix.
> </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.
It's not needed on Unices either, it defaults to 0777.
> +
> + 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'.
Under Windows the mode is simply ignored, this misses in the
documentation.
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------