mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
File functions with directories
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327743 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c4e11d3254
commit
fa99d27fdb
2 changed files with 8 additions and 0 deletions
|
@ -352,6 +352,10 @@ $handle = fopen("ftp://user:password@example.com/somefile.txt", "w");
|
|||
the files and directories you're using are accessible to the server
|
||||
process.
|
||||
</para>
|
||||
<para>
|
||||
This function may success for directories. Use <function>is_dir</function>
|
||||
to distinguish file and directory.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
|
|
|
@ -81,6 +81,10 @@ if (is_readable($filename)) {
|
|||
The check is done using the real UID/GID instead of the effective one.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
This function may return &true; for directories. Use
|
||||
<function>is_dir</function> to distinguish file and directory.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
|
|
Loading…
Reference in a new issue