cvs: phpdoc /en/reference/dir/functions getcwd.xml

From: Date: Fri, 06 Aug 2004 07:20:13 +0000
Subject: cvs: phpdoc /en/reference/dir/functions getcwd.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969362736@lists.php.net to get a copy of this message
dave Fri Aug 6 03:20:13 2004 EDT Modified files: /phpdoc/en/reference/dir/functions getcwd.xml Log: - Fix #24185. http://cvs.php.net/diff.php/phpdoc/en/reference/dir/functions/getcwd.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/dir/functions/getcwd.xml diff -u phpdoc/en/reference/dir/functions/getcwd.xml:1.6 phpdoc/en/reference/dir/functions/getcwd.xml:1.7 --- phpdoc/en/reference/dir/functions/getcwd.xml:1.6 Fri Jul 30 00:20:42 2004 +++ phpdoc/en/reference/dir/functions/getcwd.xml Fri Aug 6 03:20:12 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/dir.xml, last change in rev 1.7 --> <refentry id="function.getcwd"> <refnamediv> @@ -15,6 +15,15 @@ <para> Returns the current working directory, or &false; on failure. </para> + <note> + <para> + On some Unix variants, <function>getcwd</function> will return + &false; if any one of the parent directories does not have the + readable or search mode set, even if the current directory + does. See <function>chmod</function> for more information on + modes and permissions. + </para> + </note> <para> <example> <title><function>getcwd</function> example</title> @@ -33,9 +42,7 @@ ?> ]]> </programlisting> - <para> - This example will output something like: - </para> + &example.outputs.similar; <screen> <![CDATA[ /home/didou @@ -45,7 +52,8 @@ </example> </para> <para> - See also <function>chdir</function>. + See also <function>chdir</function> and + <function>chmod</function>. </para> </refsect1> </refentry>

« previous php.doc (#969362736) next »